⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
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"); }