slow services updates
Hendrik Baecker
b00mer at gmx.net
Sat Apr 23 16:48:06 CEST 2005
Miguel Gómez schrieb:
>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.
>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.
>I hope you could undertand my english. Thank you !
>
>
How often does your Nagios checks the external command file? There is a
value in the nagios.cfg...
But I would say it is better to take the check_snmp plugin to let Nagios
collect the snmp results by itself.
>
>-------------------------------------------------------
>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
>
>
>
>
-------------------------------------------------------
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
More information about the Users
mailing list