Re: [Nagios-users] check snmp logic

2013-08-28 Thread Ben Sykes
rint "CRITICAL"; exit(2); } if ($secondoidval > 35) { print "WARNING"; exit(1); } else { print "OK"; exit(0): } } Logic probably differs a bit, but you get the gist... Cheers Ben ben sykes consultant m. +61 404 308 201 e. ben.sy...@transpire.

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread Ben Sykes
Try running the check as the nagios user and see what happens. I ran into this problem also when I was using a very large number of services (3500+) in a single service group, which I fixed by turning off environment macros On Mon, Apr 15, 2013 at 8:43 PM, nag ios wrote: > Hi, > > i have a prob

Re: [Nagios-users] Different notifications for different services

2013-03-28 Thread Ben Sykes
Just assign different contacts or contactgroups to the different hosts and services, then set up different notification commands on those contacts On Mar 29, 2013 2:04 AM, "Alex Trifonov" wrote: -- Own the Future-Intel(R)

[Nagios-users] Host List Sorting issues - WAN links with lots of hosts

2013-03-20 Thread Ben Sykes
the Nagios source code and recompile to remove the sorting of host lists (suboptimal) - Increase the thresholds for ping timeouts etc (doesn't really let us track latency of each site as it's then affected by the ping grouping) Any ideas from the community that'd be u