Warning: 2 services running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Warning: 2 services running

Post by Kxfrancois »

We just upgraded our SEP and we not have 2 services running for SEP on every server.

I am getting this in Nagios: 2 services active (matching "Symantec Endpoint Protection") : WARNING

What can I do to fix this issue?

Thanks,
Kerwin
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Warning: 2 services running

Post by mbellerue »

What command are you using to get the number of services? Is this running through an agent like NRPE or NCPA?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Warning: 2 services running

Post by Kxfrancois »

I am running $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ $ARG1$

no running through an agent
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Warning: 2 services running

Post by Box293 »

From CCM in XI can you use the Test Check Command button from within the service and show us the result.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Warning: 2 services running

Post by Kxfrancois »

/usr/local/nagios/libexec/check_snmp_win.pl -H biglots -C hello --v2c -n 'Symantec Endpoint Protection'
2 services active (matching "Symantec Endpoint Protection") : WARNING
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Warning: 2 services running

Post by cdienger »

There could be another service matching for some reason. Try the command again but with the "-v" which should show services:

Code: Select all

/usr/local/nagios/libexec/check_snmp_win.pl -H biglots -C hello --v2c -n 'Symantec Endpoint Protection' -v
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Warning: 2 services running

Post by Kxfrancois »

There are 2 services with Symantec Endpoint protection in the name. Is there a way to all for multiple services with the same name?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Warning: 2 services running

Post by Box293 »

You could try the -N argument:

Code: Select all

-n, --name=NAME[,NAME2...]
   Comma separated names of services (perl regular expressions can be used for every one).
   By default, it is not case sensitive.
-N, --number=<n>
   Compare matching services with <n> instead of the number of names provided.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Warning: 2 services running

Post by cdienger »

Are the names exactly the same? It would be best to use the unique name of the service you want to be monitoring.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Kxfrancois
Posts: 48
Joined: Mon Nov 19, 2018 9:38 am

Re: Warning: 2 services running

Post by Kxfrancois »

That worked! Thank you. Please close this ticket
Locked