Plotting host ping times.

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
jobst
Posts: 16
Joined: Mon Jul 22, 2013 6:33 pm

Plotting host ping times.

Post by jobst »

Hi

A host is usually defined by

Code: Select all

define host {
  use sometemplate
  hostname somehostname
  address www.xxx.yyy.zzz.
  ...
}
where the template is defined as

Code: Select all

define host {
  name sometemplate
  ...
  check_command check-host-alive
  ...
}
and the command is like:

Code: Select all

define command {
  name check-host-alive
  command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,90%
}
but nowhere is it defined NOT to process the data, i.e. there is no "process_perf_data=0" in either the template file nor in the command files.

How come the plotting of the pings never takes place?
If I want pings to be plotted WITHOUT the extra overhead to run another ping how can I get the ping times to be plotted?

thanks
Jobst
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Plotting host ping times.

Post by eloyd »

Because

Code: Select all

[root@nagios ~]# grep "process_performance_data" /usr/local/nagios/etc/nagios.cfg
process_performance_data=0
Defaults to not processing it.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
kyang

Re: Plotting host ping times.

Post by kyang »

Thanks @eloyd!
Locked