Page 1 of 1

Plotting host ping times.

Posted: Mon Oct 16, 2017 12:49 am
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

Re: Plotting host ping times.

Posted: Mon Oct 16, 2017 8:58 am
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.

Re: Plotting host ping times.

Posted: Mon Oct 16, 2017 12:02 pm
by kyang
Thanks @eloyd!