Is there a plugin for monitoring npcd/perfdata timeouts?
Posted: Thu Sep 18, 2014 12:29 pm
Has anyone come across (or written) a plugin to monitor npcd.log and perfdata.log for max load/timeout conditions?
For example:
For example:
Code: Select all
tail -F /usr/local/nagios/var/npcd.log | grep 'MAX load'
[09-18-2014 07:43:01] NPCD: WARN: MAX load reached: load 15.620000/15.000000 at i=1[09-18-2014 07:43:16] NPCD: DEBUG: load00
tail -F /usr/local/nagios/var/perfdata.log | grep Timeout
2014-09-18 10:19:44 [18996] [0] *** TIMEOUT: Timeout after 20 secs. ***
2014-09-18 10:19:44 [18996] [0] *** ERROR: Timeout while processing Host: "TEST02" Service: "TCP_Connections"