Page 1 of 1

RDP

Posted: Thu May 15, 2014 11:27 am
by At0mrail
I have attempted to create a service template using a copy of the check_xi_service _tcp command. I have renamed it to RDP.

My command view is as such

$USER1$/check_tcp -H $HOSTADDRESS$ $ARG1$

$ARG1$ = -p 3389

When I test this on a single server it does display what I want to see, however when I add some test hosts, save, then apply the configuration and look at the serivces for that particular device it does not show me this in the view.

Can anyone tell me what I am doing wrong at this point? I am utterly confused.

Thanks

Re: RDP

Posted: Thu May 15, 2014 3:35 pm
by sreinhardt
To verify, your configuration applied successfully? Are you not seeing the services under the hosts that you added to this service definition, or where exactly are you not seeing them being applied?

Re: RDP

Posted: Fri May 16, 2014 10:01 am
by At0mrail
Yes it applied without a problem. I do not see it under services when I search under services. I see Ping and Mem usage and Dell OSMA but I do not see my RDP info.

Re: RDP

Posted: Fri May 16, 2014 10:16 am
by slansing
How did you apply your service with this new RDP check to those hosts? Are you looking in the CCM, or under Service Detail from the home page? Try searching for the service's description instead of name as you may have changed one but not the other.

Did you accidentally add the service as a template and not a actual service? Try grepping for the exact name you gave it:

Code: Select all

grep -R 'namehere' /usr/local/nagios/etc/
You could also grep for the command name as well.