Michał
Panasiewicz
Administrator
systemów, sieci i
aplikacji.
Temat: monitorowanie zdalnych hostów poprzez nrpeclient jako...
Ktoś może ma doświadczenia z tym? I mu działa?na serwerze nagios:
$USER1$/nrpe_check -H proxy_adress -c check_nrpe_remote -a $HOSTADDRESS$ $ARG2$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
w nsclient (nsc.ini):
[modules]
NRPEListener.dll
NSClientListener.dll
NSCAAgent.dll
CheckWMI.dll
CheckSystem.dll
CheckDisk.dll
CheckEventLog.dll
CheckHelpers.dll
NRPEClient.dll
...
[log]
debug=1
...
[NRPE Client Handlers]
check_nrpe_remote=-H $ARG1$ -p 5666 -c $ARG2$ -a $ARG3$ $ARG4$ $ARG5$ $ARG6$
...
wynik w logu nsclient-a:
2011-12-16 09:08:09: debug:NSClient++.cpp:1144: Injecting: check_nrpe_remote: 192.168.100.8, MEMUSE, MaxWarn=80%, MaxCrit=90%
2011-12-16 09:08:09: debug:modules\NRPEClient\NRPEClient.cpp:124: Rewrote command arguments: MaxWarn=80%!MaxCrit=90%!$ARG5$!$ARG6$
2011-12-16 09:08:09: debug:NSClient++.cpp:1180: Injected Result: WARNING 'Socket error: Failed to connect to host: 255.255.255.2550: The operation completed successfully. '
2011-12-16 09:08:09: debug:NSClient++.cpp:1181: Injected Performance Result: ''