[Nagios-users] Antwort: Re: Antwort: Re: check_snmp_int - No usable data on file

2011-09-05 Thread Radu . Popa
Hello again Jim,

I have followed your suggestion and seems better. However, from time to 
time, for short periods ( which take 1-2 checks) the status flaps to 
unknown and afterwards gets back to normal. Any more clues, please?

Thanks!



Von:Jim Avery j...@jimavery.me.uk
An: Nagios Users List nagios-users@lists.sourceforge.net
Datum:  09/04/2011 02:34 PM
Betreff:Re: [Nagios-users] Antwort: Re: check_snmp_int - No usable 
data on file




 Hello Jim and thanks for your answer!

 I have double checked the files in /tmp created by the script and they 
are
 all owned by nagios group and nagios user, so fully writeable.

 The actual check interval of the port is 20 seconds ( I check every 2 
units
 and the time unit is 10 seconds in the nagios.cfg). The correct value 
for
 the plugin time is in this case 20s?

I see, yes, in that case you should use -d 20.

 I will give it a try with making the normal check interval and retry
 interval at the same value.

I think that will most likely solve your problem.

Cheers,

Jim

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Nagios-users mailing list
Nagios-users@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

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Antwort: Re: Antwort: Re: check_snmp_int - No usable data on file

2011-09-05 Thread Jim Avery
On 5 September 2011 07:49,  radu.p...@technomatic.de wrote:
 Hello again Jim,

 I have followed your suggestion and seems better. However, from time to
 time, for short periods ( which take 1-2 checks) the status flaps to unknown
 and afterwards gets back to normal. Any more clues, please?

 Thanks!

The documentation page seems to suggest that the -d option should be a
slightly longer than the check interval.

http://nagios.manubulon.com/snmp_int.html

If there's anything in your nagios system which will cause the nagios
daemon to do something other than scheduling checks for a few seconds,
then with a 10s standard interval it wouldn't take much to throw the
plugin off kilter.  I don't know for sure which activities would do
this, but suspect one would be writing to the status.dat file and
another might be processing the command file.  Having said that, with
the check_snmp_int.pl plugin allowing up to 300% of the -d value
before complaining, it should be fairly forgiving.

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Nagios-users mailing list
Nagios-users@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