CHECK_NCNET and the EVENTLOG variable


#1

Well, I’ve been banging my head on this one for a while now, but I can’t get anything out of the CHECK_NCNET -v EVENTLOG plugin but error messages! I’m on Nagios 3, Ubuntu. Here’s a copy and paste from the console:

ioa9572@NAGIOSAPPLIANCE:/usr/local/nagios/libexec$ ./check_ncnet -H computername.domainremoved.net -v EVENTLOG \ -l “Security,any,1440,0,0,0” -w 1 -c 2
12 Errors with ID: 6023;6023;6023;6023;6023;6023;7000;528;576;538;578;578 LAST - ID 6023: Event log check not enough parameters using default of any,any,10,0,0,0

ioa9572@NAGIOSAPPLIANCE:/usr/local/nagios/libexec$ ./check_ncnet -H computername.domainremoved.net -v EVENTLOG \ -l “Application,any,1440,0,0,0” -w 1 -c 2
13 Errors with ID: 6023;6023;6023;6023;6023;6023;6023;7000;528;576;538;578;578 LAST - ID 6023: Event log check not enough parameters using default of any,any,10,0,0,0

ioa9572@NAGIOSAPPLIANCE:/usr/local/nagios/libexec$ ./check_ncnet -H computername.domainremoved.net -v EVENTLOG \ -l “System,any,1440,0,0,0” -w 1 -c 2
14 Errors with ID: 6023;6023;6023;6023;6023;6023;6023;6023;7000;528;576;538;578;578 LAST - ID 6023: Event log check not enough parameters using default of any,any,10,0,0,0

What I can’t figure out is

  1. Why do I keep getting that error, when those aren’t my parameters?
  2. Why does it not actually query the log?
  3. Why is the only log being reported the Application log? The incremented 12, 13, 14 errors are all showing in the Application log for NC_NET. It’s not reporting the results of any other logs, even though they’re in the command.