Hi Team,
I have increased the ping timeout value to 60 secs but in the portal it is still showing old timeout value.The host uses the xiwizard_switch_host template which uses command check_xi_host_ping.I had changed the timeout value as mentioned below
Did you restart the Nagios server (you mentioned "agent") after making those changes?
Restarting/reloading is necessary when you modify your configuration files and want those changes to take effect.
service nagios restart
Some other methods for restarting:
Restart via Init Script: The easiest way to restart the Nagios daemon is by using the init script like so: /etc/rc.d/init.d/nagios reload
Restart via Web Interface: You can restart the Nagios through the web interface by clicking the "Process Info" navigation link and selecting "Restart the Nagios process":
Restart manually: You can restart the Nagios process by sending it a SIGHUP signal like so: kill -HUP <nagios_pid>
If issue persists, then check for multiple Nagios processes running as this will cause an array of problems.
run this cmd on your nagios server: ps - aef | grep nagios.cfg
* Look for multiple parent (PPID) processes. The Nagios process forks itself to run checks therefore subprocesses are normal. The nagios user should probably be the only owner of the nagios process. If in any doubt post the output here.
If there are multiple Nagios processes running, run these commands to resolve:
service nagios stop
killall -9 nagios
service nagios start
Be sure to check out the Knowledgebase for helpful articles and solutions!