nsclient send passive check real time system event log
Posted: Wed Mar 04, 2015 5:03 am
Hi,
Anyone have idea to configure windows nsclient agent send real time system event log to 2 nagiosxi (primary and redundant server).
According to nsclient documentation, this part is in "TODO" status.
http://docs.nsclient.org/0.4.3/tutorial ... log-checks
I have try to configure a new "server2" and don't use the "default" server but it is not to update the status to nagios xi NSCA server.
;[/settings/NSCA/client/targets/default]
;address=nsca://172.31.4.166:5667
;encryption=none
;password=password
[/settings/NSCA/client/targets/server2]
address=nsca://172.31.4.166:5667
encryption=none
password=password
from "nscp test" console, it always prompt below messages when a new error comes.
D eventlog Reading eventlog messages...
D eventlog Processing: 00000000004273A0
E core No handler for channel: server2
D:\source\nscp\service\NSClient++.cpp:1214
E eventlog Failed to submit 'system: 1 (error: testing critical error warning)
D:\source\nscp\include\parsers/filter/realtime_helper.hpp:12
1
D eventlog Next miss time is in: 259196s
Thank for who can provide the sample of configuration file and attached my "un-work" configuration file for reference.
Anyone have idea to configure windows nsclient agent send real time system event log to 2 nagiosxi (primary and redundant server).
According to nsclient documentation, this part is in "TODO" status.
http://docs.nsclient.org/0.4.3/tutorial ... log-checks
I have try to configure a new "server2" and don't use the "default" server but it is not to update the status to nagios xi NSCA server.
;[/settings/NSCA/client/targets/default]
;address=nsca://172.31.4.166:5667
;encryption=none
;password=password
[/settings/NSCA/client/targets/server2]
address=nsca://172.31.4.166:5667
encryption=none
password=password
from "nscp test" console, it always prompt below messages when a new error comes.
D eventlog Reading eventlog messages...
D eventlog Processing: 00000000004273A0
E core No handler for channel: server2
D:\source\nscp\service\NSClient++.cpp:1214
E eventlog Failed to submit 'system: 1 (error: testing critical error warning)
D:\source\nscp\include\parsers/filter/realtime_helper.hpp:12
1
D eventlog Next miss time is in: 259196s
Thank for who can provide the sample of configuration file and attached my "un-work" configuration file for reference.