Help with a little problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Erlington
Posts: 10
Joined: Thu Jan 30, 2014 10:15 am

Help with a little problem

Post 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,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Help with a little problem

Post by tmcdonald »

Numbers can be included in the service_Description field.
Former Nagios employee
Erlington
Posts: 10
Joined: Thu Jan 30, 2014 10:15 am

Re: Help with a little problem

Post by Erlington »

Thank you. Problem Solved.
Locked