Page 1 of 1

Help with a little problem

Posted: Thu Jan 30, 2014 10:24 am
by Erlington
Hello everybody here. Mi concern is in the service description template on Nagios. I want to stablish an Ip adress next to the name of the service description, for example:

# Define a service to "ping" the router machine
define service {
use local-service,srv-pnp ; Name of service template to use
host_name xx-hostname-xx
service_description FIBER
check_command check_ping_ext!172.16.0.50!200,2%!350,40%
max_check_attempts 3
}

The problem is this,the service description parameter just allows "strings" and not numbers. So mi question is how can I stablished an Ip adress as a string achieving thus that name will appear on the web page of the monitoring. Hope it would be easy as pie for you.

Regards,

Re: Help with a little problem

Posted: Thu Jan 30, 2014 2:12 pm
by tmcdonald
Numbers can be included in the service_Description field.

Re: Help with a little problem

Posted: Thu Sep 25, 2014 1:24 pm
by Erlington
Thank you. Problem Solved.