-
Logged In: YES
user_id=8519
Oops - and also in the "if (defined $name) {" at line 143.
2006-10-02 19:20:04 UTC in Nagios Plugin Development
-
I wanted to use the -n option to check_ifoperstatus,
but it wasn't working.
The -n / --name option declarations set the $ifName
variable, but the test around line 153 checks $name
instead of $ifName, so the names are never compared.
In the paragraph starting with the "Check to see if
ifName match", change $name to $ifName in the 3 places
it is used.
thanks - cheers!
John
who's...
2006-10-02 19:12:08 UTC in Nagios Plugin Development
-
If you have two service groups, and one's name is a
substring of the other, any host in the longer is
treated as if it is also in the shorter.
For example, if you have service group called "Windows"
and one called "Windows Mail", you'll have problems.
The reason is, that in nagios_write.cgi, line 509, the
comparison is
where service_group RLIKE servicegroup_name
presumably to get...
2005-12-14 07:48:13 UTC in NagMIN - Network Monitoring System
-
One of the slowdowns in check_snmp is when snmpget
reads all the MIB files. But it occurred to me today
that if you call check_snmp with an OID (instead of an
SNMP variable name), then we don't need to read any MIB
files at all.
Here's a patch.
Thanks!
John
jsellens@syonex.com.
2005-06-01 03:41:44 UTC in Nagios Plugin Development
-
I upgraded to net-snmp 5.2 on 3 freebsd machines (4.6
and 4.10) and noticed the agent growing in memory use.
Through configure experiments, I tracked it down to the
ucd-snmp/diskio mib-module. I compiled in dmalloc, ran
it under gdb for 1 day, and looked at the "not freed"
information from the dmalloc log. 18,000+ 1444 byte
pieces from ra=0x28365fba. A gdb breakpoint showed...
2005-01-17 04:02:40 UTC in net-snmp
-
I want to check a web page that has a number of status
entries for
various servers - I'd like to check a regular
expression that
contains all those servers, but they are on multiple
lines.
check_http.c sets REG_NEWLINE which means that regular
expressions
may not span newlines. This means that, in my case, I
must check
the web page multiple times.
Here is a patch that adds an...
2003-01-13 03:57:48 UTC in Nagios Plugin Development
-
After a long hiatus, I've packaged up the next "beta"
release. I've been running it on my network for quite
a while with no unexpected problems. Lots of new
features - see the change log and release notes through
the download page:
http://sourceforge.net/project/showfiles.php?group_id=12211&release_id=95464
Cheers
John.
2002-06-18 18:21:06 UTC in thresh SNMP threshold poller
-
jsellens committed patchset 41 of module thresh to the thresh SNMP threshold poller CVS repository, changing 1 files.
2002-06-18 17:22:51 UTC in thresh SNMP threshold poller
-
jsellens committed patchset 40 of module thresh to the thresh SNMP threshold poller CVS repository, changing 1 files.
2002-06-18 17:09:35 UTC in thresh SNMP threshold poller
-
The 4.2.3 distribution failed to compile for me on
FreeBSD
2.2.5-RELEASE with
/bin/sh ../../libtool --mode=compile gcc -g -O2
-Dfreebsd2 -I. -I../.. -I. -I./../.. -I./../../snmplib
-I./.. -I.. -c -o mibII/ipAddr.lo mibII/ipAddr.c
gcc -g -O2 -Dfreebsd2 -I. -I../.. -I. -I./../..
-I./../../snmplib -I./.. -I.. -c mibII/ipAddr.c -o
mibII/ipAddr.o
mibII/ipAddr.c: In function...
2002-03-05 06:43:30 UTC in net-snmp