Search found 5 matches

by dliberal
Mon Jan 07, 2019 11:50 pm
Forum: Open Source Nagios Projects
Topic: Check NRPE Services. OK in Shell and Wrong in Nagios
Replies: 8
Views: 4094

Re: Check NRPE Services. OK in Shell and Wrong in Nagios

I have changed in Windows the service from "Automatic" to "Manual" and then the output is: OK: All 119 service(s) are ok. It seems that the "exclude = SysmonLog" argument does not work I do not know if there is a problem changing the service from automatic to manual in ...
by dliberal
Mon Jan 07, 2019 11:34 pm
Forum: Open Source Nagios Projects
Topic: Check NRPE Services. OK in Shell and Wrong in Nagios
Replies: 8
Views: 4094

Re: Check NRPE Services. OK in Shell and Wrong in Nagios

In /usr/local/nagios/var/status.dat file it shows:

plugin_output=CRITICAL: SysmonLog=stopped (auto), delayed ()
by dliberal
Mon Jan 07, 2019 4:38 pm
Forum: Open Source Nagios Projects
Topic: Check NRPE Services. OK in Shell and Wrong in Nagios
Replies: 8
Views: 4094

Re: Check NRPE Services. OK in Shell and Wrong in Nagios

I tried

check_command check_nrpe!checkservicestate! -a "CheckAll exclude=SysmonLog"

but it still does not work
by dliberal
Mon Jan 07, 2019 11:54 am
Forum: Open Source Nagios Projects
Topic: Check NRPE Services. OK in Shell and Wrong in Nagios
Replies: 8
Views: 4094

Re: Check NRPE Services. OK in Shell and Wrong in Nagios

In commands.cfg file define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -t 60 -n } In windows.cfg file define service { host_name MyServer service_description Automatic Services check_command check_nrpe!checkservicestate! -a CheckAll ...
by dliberal
Mon Jan 07, 2019 11:08 am
Forum: Open Source Nagios Projects
Topic: Check NRPE Services. OK in Shell and Wrong in Nagios
Replies: 8
Views: 4094

Check NRPE Services. OK in Shell and Wrong in Nagios

I have a problem in Nagios Core when I try to monitor Services. In Linux shell these comands works OK ./check_nrpe -H x.x.x.x -n -c checkservicestate -a CheckAll exclude=SysmonLog Ok: All 118 service(s) are ok. ./check_nrpe -H x.x.x.x -n -c check_service -a "filter=start_type = 'auto' and name ...