nagios-plugins + perfdata + openbsd comments

Julien TOUCHE julien.touche at lycos.com
Sun Aug 8 19:04:14 CEST 2004


i have a small question concerning the default plugins of nagios. it
seems they didn't issue the perfdata like shown in
http://nagios.sourceforge.net/docs/1_0/perfdata.html
there is a change with 1.4.0alpha1

is that right ?
if it is, is there any plan to make this default for all plugins ? (like
ping, procs, ...)
what is the situation/plan of other plugins ? (nrpe, nsclient, ...)

on the other side, i test 1.4.0alpha1 on openbsd 3.5. few points:
* sys/mount.h configure test need sys/param.h, same for sys/ucred.h
else
/usr/include/sys/ucred.h:46: `NGROUPS' undeclared here (not in a function)
* a note with libintl : configure
     57 checking libintl.h presence... no
      58 configure: WARNING: libintl.h: accepted by the compiler,
rejected by the preprocessor!
      59 configure: WARNING: libintl.h: proceeding with the compiler's 
result
      60 checking for libintl.h... yes
and in config.log
     546 configure:4567: checking libintl.h presence
     547 configure:4577: cc -E  conftest.c
     548 conftest.c:28: libintl.h: No such file or directory
as libintl.h is in /usr/local/include and adding
CFLAGS="-I/usr/local/include" changes nothing
* problem with check_mysql as in
http://sourceforge.net/tracker/index.php?func=detail&aid=962495&group_id=29880&atid=397597
* one general comment, it would be useful for dependencies in package to
be able to disable plugins at configure. for now only pgsql & mysql
could, so if you have fping installed, it will be build even if not asked.
* ping & ping6 problems (was ok with 1.3.1)
/usr/local/libexec/nagios/check_ping.orig  -4 -H localhost -w 100,0.6%
-c 1000,0.8%
/sbin/ping
Error: Could not interpret output from ping command
example output:
# ping -n -c 1 localhost
PING localhost.vpn.www (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.322 ms
--- localhost.vpn.www ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.322/0.322/0.322/0.000 ms
# ping6 -n -c 1 localhost
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.292 ms

--- localhost ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.292/0.292/0.292/0.000 ms


thanks
Regards

		Julien

note: no cc. i'm on list




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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