קוד: |
/usr/share/nagios/sbin % ll
total 5.2M drwxr-xr-x 5 nagios nagios 4.0K Jan 18 11:48 .. -rwxrwxr-x 1 nagios nagios 271K Jan 18 11:48 trends.cgi -rwxrwxr-x 1 nagios nagios 251K Jan 18 11:48 tac.cgi -rwxrwxr-x 1 nagios nagios 263K Jan 18 11:48 summary.cgi -rwxrwxr-x 1 nagios nagios 243K Jan 18 11:48 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 255K Jan 18 11:48 statuswml.cgi -rwxrwxr-x 1 nagios nagios 264K Jan 18 11:48 statusmap.cgi -rwxrwxr-x 1 nagios nagios 314K Jan 18 11:48 statusjson.cgi -rwxrwxr-x 1 nagios nagios 311K Jan 18 11:48 status.cgi /usr/share/nagios/sbin % file status.cgi status.cgi: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=19e0d8829dca7ebf35085d8982b54f6f375c82c4, stripped |
mksoft : |
הצץ בקבצים המוגדרים ע"י host_perfdata_file ו- service_perfdata_file |
קוד: |
# grep -R perfdata_file
nagios.cfg:#host_perfdata_file=/var/nagios/host-perfdata nagios.cfg:#service_perfdata_file=/var/nagios/service-perfdata |
קוד: |
head -n 8 /var/nagios/status.dat
######################################## # NAGIOS STATUS FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY NAGIOS. DO NOT MODIFY THIS FILE! ######################################## info { ... |