check_xi_Service

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
zumbachkat
Posts: 4
Joined: Fri Jan 29, 2010 7:49 pm

check_xi_Service

Post by zumbachkat »

I am new to Nagios but have been able to monitor several windows services on mulitiple servers. but I am having difficulty getting a third party service to work. I am getting a Nagios xi Alert for a service that is installed on the C:\Program Files (x86)\Informatica Agent\infaagent.exe/

I am getting the error message that the INFAAGENT:Not found. The agent is installed and monitoring other services such as MSSQLSERVER and SNMP.

check_xi_service_nsclient!!SERVICESTATE!-l INFAAGENT -d SHOWALL

Any help would be appreciated.

Thanks,

Kat
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: check_xi_Service

Post by mmestnik »

There are case sensitive, aren't they? Discovering the correct service name could be tricky, though it's all MS-Windows to me.
gary_ford
Posts: 52
Joined: Wed Mar 10, 2010 9:18 am

Re: check_xi_Service

Post by gary_ford »

zumbachkat wrote:I am new to Nagios but have been able to monitor several windows services on mulitiple servers. but I am having difficulty getting a third party service to work. I am getting a Nagios xi Alert for a service that is installed on the C:\Program Files (x86)\Informatica Agent\infaagent.exe/

I am getting the error message that the INFAAGENT:Not found. The agent is installed and monitoring other services such as MSSQLSERVER and SNMP.

check_xi_service_nsclient!!SERVICESTATE!-l INFAAGENT -d SHOWALL

Any help would be appreciated.

Thanks,

Kat

maybe not what you are looking for but have you considered using the default nrpe to monitor all services that are set to auto? that way you just set it up once and not for each and every single service you want to monitor,.

go to core config
commands
define new command (copy one of the nrpe ones)

Command* CheckServiceState
Command line* $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckServiceState -a CheckAll exclude=$ARG1$ exclude=$ARG2$ exclude=$ARG3$ exclude=$ARG4$
Command type check command

mark as active - submit - apply config


then go to core config services

again - copy one of the checks for the server you are working on
in the sevrer name go to the end and remove the (1)
mark as active
change the command to CheckServiceState
put any exclusions in the arg boxes 1-4

submit
apply config