Please help me!
I have Nagios 3 Core on CentOS 6 installation to monitor my Windows 2008R2 servers.
On the win servers there are NSClient++ (with NRPE) 0.4.4
Multiple Monitors runs normally through NRPE ( CheckMem for example)
I want to monitor Windows Event Log.
But, I got error when run this command on Nagios Server:
Code: Select all
/usr/loib64/nagios/plugins/check_nrpe -H 192.168.20.251 -n -p 5666 -c CheckEventLog -a file=system MaxWarn=1 MaxCrit=1
Unknown command(s): checkeventlog|
Code: Select all
2016-02-18 17:27:26: error:c:\source\nscp\service\NSClient++.cpp:893: Unknown command(s): checkeventlog available commands: commands {, check_counter, check_cpu, check_drivesize, check_files, check_memory, check_os_version, check_pagefile, check_pdh, check_process, check_service, check_uptime, checkcounter, checkcpu, checkdrivesize, checkfiles, checkmem, checkprocstate, checkservicestate, checkuptime}, plugins {, 0, 1}
2016-02-18 17:27:26: error:c:\source\nscp\include\nscapi\nscapi_core_wrapper.cpp:159: Failed to execute command
2016-02-18 17:27:26: error:c:\source\nscp\include\nscapi\nscapi_core_helper.cpp:95: Failed to execute command: CheckEventLog
Code: Select all
[/settings/default]
allowed hosts = 192.168.20.250
password = passwOrd
[/modules]
NSClientServer = 1
CheckSystem = 1
CheckDisk = 1
NRPEServer = 1
[/settings/NRPE/server]
use ssl = 0
allow arguments = 1
allow_nasty_meta_chars=1
port=5666
[modules]
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NRPEListener.dll
SysTray.dll
CheckEventLog.dll
[/settings/eventlog/real-time]
debug=0
enabled=0
log=application,system
startup age=30mThanks!
Alex