- From nagios server:
- root@NAGPROD03:/usr/local/nagios/libexec# ./check_nrpe -H MF06NODE01 -c check_oracleping
- UNKNOWN: No handler for that command
- root@NAGPROD03:/usr/local/nagios/libexec#
- Running NSClient++ /test the checks work fine:
- C:\Program Files\NagiosClient>net stop nsclientpp && "NSClient++.exe" /test
- The NSClient++ (Win32) service is stopping.
- The NSClient++ (Win32) service was stopped successfully.
- Launching test mode - client mode
- l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24
- e \NSClient++.cpp(453) Exception raised: Could not load library: 126: The specif
- ied module could not be found.
- in module: LUAScript.dll
- d \NSClient++.cpp(773) Loading plugin: CheckDisk...
- d \NSClient++.cpp(773) Loading plugin: Event log Checker....
- d \NSClient++.cpp(773) Loading plugin: Check External Scripts...
- d \NSClient++.cpp(773) Loading plugin: Helper function...
- d \NSClient++.cpp(773) Loading plugin: CheckSystem...
- d \NSClient++.cpp(773) Loading plugin: File logger...
- d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters.
- d \PDHCollector.cpp(103) Using index to retrive counternames
- l \FileLogger.cpp(93) Log path is: C:\Program Files\NagiosClient\\nsclient.log
- d \NSClient++.cpp(773) Loading plugin: NRPE client...
- d \NRPEClient.cpp(49) humm...
- d \NRPEClient.cpp(51) check_other
- d \NRPEClient.cpp(79) Added NRPE Client: check_other = host: 192.168.0.1, port:
- 5666, timeout: 10, ssl: 1, buffer_length: 1024
- d \NSClient++.cpp(773) Loading plugin: NRPE server...
- d \PDHCollector.cpp(123) Found countername: CPU: \Processor(_total)\% Process
- or Time
- d \PDHCollector.cpp(124) Found countername: UPTIME: \System\System Up Time
- d \PDHCollector.cpp(125) Found countername: MCL: \Memory\Commit Limit
- d \PDHCollector.cpp(126) Found countername: MCB: \Memory\Committed Bytes
- d \NSClient++.cpp(773) Loading plugin: NSCAAgent...
- d \Socket.h(637) Bound to: 0.0.0.0:5666
- d \NSCAThread.cpp(46) Autodetected hostname: MF06NODE01
- d \NSClient++.cpp(773) Loading plugin: NSClient server...
- d \NSClient++.cpp(773) Loading plugin: SystemTray...
- d \Socket.h(637) Bound to: 0.0.0.0:12489
- d \NSCAThread.cpp(115) Drifting: 0
- e \SysTray.cpp(51) SysTray is not installed (or it cannot interact with the desk
- top) SysTray won't be loaded. Run NSClient++ SysTray install to change this.
- l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started!
- l \NSClient++.cpp(278) Using settings from: INI-file
- l \NSClient++.cpp(279) Enter command to inject or exit to terminate...
- d \NSClientListener.cpp(146) Data: myh4th4sthr33c0rn3rs&1
- d \NSClientListener.cpp(171) Data:
- d \NSClient++.cpp(910) Injecting: check_oracleping:
- d \NSClient++.cpp(946) Injected Result: CRITICAL '"CRIT $ARG1$ - TNS-03505: Fail
- ed to resolve name"'
- d \NSClient++.cpp(947) Injected Performance Result: ''
- d \NSClient++.cpp(910) Injecting: check_oracleping: INTPRD
- d \NSClient++.cpp(946) Injected Result: OK '"OK INTPRD - OK (470 msec)"'
- d \NSClient++.cpp(947) Injected Performance Result: ''
- From nagios server when daemon running as nsclient++ /test:
- root@NAGPROD03:/usr/local/nagios/libexec# ./check_nrpe -H MF06NODE01 -c check_oracleping
- "CRIT $ARG1$ - TNS-03505: Failed to resolve name"
- root@NAGPROD03:/usr/local/nagios/libexec# ./check_nrpe -H MF06NODE01 -c check_oracleping -a INTPRD
- "OK INTPRD - OK (470 msec)"
- root@NAGPROD03:/usr/local/nagios/libexec#
- When running as service NRPE still responds:
- root@NAGPROD03:/usr/local/nagios/libexec# ./check_nrpe -H MF06NODE01
- I (0.3.8.69 2010-05-19) seem to be doing fine...
- (the other test NRPE default commands have the same error as above).