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
RDP
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: RDP
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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: RDP
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:
You could also grep for the command name as well.
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/