Hi, I want to do post-analysis of nagios.log and save the filtered result to DB. The format look like this: [1194969600] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.17, 0.23, 0.20 [1194969600] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 14 users currently logged in [1194969600] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 7590 bytes in 0.006 seconds [1194969600] CURRENT SERVICE STATE: localhost;PING;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 0.04 ms [1194969600] CURRENT SERVICE STATE: localhost;Root Partition;OK;HARD;1;DISK OK - free space: / 37567 MB (53% inode=96%): [1194969600] CURRENT SERVICE STATE: localhost;SSH;OK;HARD;1;SSH OK - OpenSSH_4.3 (protocol 2.0) [1194969600] CURRENT SERVICE STATE: localhost;Swap Usage;OK;HARD;1;SWAP OK - 78% free (1542 MB out of 1983 MB) [1194969600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 110 processes with STATE = RSZDT
Could someone tell me what's the fields means ? What kind of message will be log into nagios.log. Sometime I found "SERVICE ALERT" message ... any complete list existed for possible message ? Thanks Regards KC ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
