slow services updates

Arno Lehmann al at its-lehmann.de
Sat Apr 23 15:25:49 CEST 2005


Hi,

Miguel Gómez wrote:

> Hello,
> I'm using nagios to monitor host services in my network. I get the
> information I need using SNMP queries. Every machine has net-snmp
> package installed, so I wrote a bash script and put it in crontab.
> That script gets the information using "snmpget" directive and then
> executes nagios "submit_check_result" to inform nagios.

Why don't you let
- either nagios start the checks, or
- run the checks on the remte hosts and submit them via nsca?
That would seem more useful to me...

> The problem is that nagios gets the information but it lasts almost 3
> minutes refreshing that value in the cgi. I know that cgi updates
> automatically every 90 seconds, but I'm not counting that time. If I
> look to /var/log/nagios/nagios.log, I can see how there's an EXTERNAL
> COMMAND and a SERVICE ALERT containing the information I want nagios
> to show, but It takes too much time doing that.

What's the setting for "command_check_interval" in your config?

Arno


> I hope you could undertand my english. Thank you !
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list