⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
status
/
View File Name :
postgresql-monitor.pl
# postgresql-monitor.pl # Monitor the PostgreSQL server on this host # Check if postgresql is running sub get_postgresql_status { return { 'up' => -1 } if (!&foreign_check($_[1])); &foreign_require($_[1], "postgresql-lib.pl"); local %pconfig = &foreign_config($_[1]); return { 'up' => -1 } if (!-x $pconfig{'psql'}); local $r = &foreign_call($_[1], "is_postgresql_running"); return { 'up' => $r ? 1 : 0 }; } sub parse_postgresql_dialog { &depends_check($_[0], "postgresql"); }