From Toby_Kraft at ksainc.com Tue Nov 2 07:22:22 2004
From: Toby_Kraft at ksainc.com (Toby Kraft)
Date: Tue Nov 2 07:22:22 2004
Subject: [Nagiosplug-devel] check_ping/check_fping improvement
Message-ID:
The check_ping plugins output a message of the form:
"PING OK - Packet Loss = 0%, RTA = 12.34 ms"
Problem is - when inserted into the printf statement of the
Notify-by-email command, the '%' gets interpreted and the rest gets
stripped off so the email does not report the RTA.
I changed the '%' to 'Percent' and now the notification emails include the
RTA.
Toby
More info:
Old messages looked like;
***** Nagios *****
Notification Type: RECOVERY
Service: PING
Host: xxx
Address: xxx.yyy.com
State: OK
Date/Time: Fri Oct 29 13:58:25 CDT 2004
Additional Info:
PING OK - Packet loss = 0
New messages look like:
***** Nagios *****
Notification Type: PROBLEM
Service: PING
Host: xxx
Address: xxx.yy.com
State: WARNING
Date/Time: Tue Nov 2 07:28:40 CST 2004
Additional Info:
PING WARNING - Packet loss = 0 Percent, RTA = 250.06 ms
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ibere.tizio at supportcomm.com.br Wed Nov 3 08:30:39 2004
From: ibere.tizio at supportcomm.com.br (=?iso-8859-1?Q?Iber=EA_Luiz_Di_Tizio_Junior?=)
Date: Wed Nov 3 08:30:39 2004
Subject: [Nagiosplug-devel] Some changes to check_http
Message-ID: <66150DEA041C2D4CA39D7096B032126C02241AB7@exchange.supportcomm.com.br>
Hi,
My name is Ibere and I work in a brazilian telecom company.
We have been using nagios and nagios plugins, but in our http checks, we usually need to simulate phone requests (or
other devices).
So, we need to change some http tags in header of http request (like user-agent, accept...)
I have changed the check_http code (downloaded in 11:00 am Nov/03 - 2004) to implement:
-A STRING or --useragent=STRING String to be sent in http header as "User Agent"
And
-k STRING or --header=STRING Any other tags to be sent in http header, separeted by semicolon
Well, I don?t know how to suggest changes, or how can I could become a volunteer, so any comment will be apreciated..
I?d like to submit this code..
Thanks,
Iber? Luiz Di Tizio J?nior
<> <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_http.patch
Type: application/octet-stream
Size: 3609 bytes
Desc: check_http.patch
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_http.c
Type: application/octet-stream
Size: 33548 bytes
Desc: check_http.c
URL:
From mit at nrdc.dk Thu Nov 4 04:09:54 2004
From: mit at nrdc.dk (Micahel Thorsager)
Date: Thu Nov 4 04:09:54 2004
Subject: [Nagiosplug-devel] Status UNKNOWN
Message-ID: <418A195D.9080902@nrdc.dk>
Well.. I have created a plugin to check the status of Solaris Volume
Manager. I use the check_by_ssh plugin to run my check_svm on remote
machines and it works like a charm.
But I have one server from witch the status in nagios is set to
'UNKNOWN' .. I just don't get it. I have run the whole check_by_ssh
command by hand as user 'nagios' and the exit code is 0 as it should be
and the text is as it should be but status in nagios is set to UNKNOWN.
I know this i a long-shot.. but I just don't get it, so wondered if
anyone else has had a similar problem
--
Michael Thorsager
http://www.krakow.dk
From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Nov 4 14:59:38 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Thu Nov 4 14:59:38 2004
Subject: [Nagiosplug-devel] Status UNKNOWN
In-Reply-To: <418A195D.9080902@nrdc.dk>
References: <418A195D.9080902@nrdc.dk>
Message-ID: <20041104225406.GA26199@IPAustralia.Gov.AU>
Dear Sir,
I am writing to thank you for your letter and say,
On Thu, Nov 04, 2004 at 12:58:21PM +0100, Micahel Thorsager wrote:
> Well.. I have created a plugin to check the status of Solaris Volume
> Manager. I use the check_by_ssh plugin to run my check_svm on remote
> machines and it works like a charm.
Slowlaris !
> But I have one server from witch the status in nagios is set to
> 'UNKNOWN' .. I just don't get it. I have run the whole check_by_ssh
> command by hand as user 'nagios' and the exit code is 0 as it should be
> and the text is as it should be but status in nagios is set to UNKNOWN.
>
My experience is somewhat similar. On a remote Solaris host , Nagios
runs a ksh script developed by the DBAs to check DB connectivity. The
check is run by ssh.
I found I had to redirect STDERR to /dev/null to get it to work
properly under Nag; flawless from the CLI.
eg
check_by_ssh4!120!db_check/db_check nonprod 2>/dev/null
..
# 'check_by_ssh4' command definition
define command{
command_name check_by_ssh4
command_line $USER1$/check_by_ssh -t $ARG1$ -H $HOSTNAME$ -C
'$ARG2$'
YMMV.
> --
> Michael Thorsager
> http://www.krakow.dk
Hope this helps.
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL:
From mit at nrdc.dk Thu Nov 4 15:13:58 2004
From: mit at nrdc.dk (Michael Thorsager)
Date: Thu Nov 4 15:13:58 2004
Subject: [Nagiosplug-devel] Status UNKNOWN
In-Reply-To: <20041104225406.GA26199@IPAustralia.Gov.AU>
References: <418A195D.9080902@nrdc.dk> <20041104225406.GA26199@IPAustralia.Gov.AU>
Message-ID: <418AB5DE.9060502@nrdc.dk>
Stanley Hopcroft wrote:
>
> I found I had to redirect STDERR to /dev/null to get it to work
> properly under Nag; flawless from the CLI.
>
Thanx a million.. That did it.. everything is now working ;)
--
Michael Thorsager
http://www.krakow.dk
From noreply at sourceforge.net Fri Nov 5 01:01:31 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Fri Nov 5 01:01:31 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1060803 ] Check hardware changes
Message-ID:
New Plugins item #1060803, was opened at 2004-11-05 09:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1060803&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rok Debevc (rokdebevc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check hardware changes
Initial Comment:
Tested on SuSE 9.1 Professional with the hwinfo-8.62-0.2
package installed.
#
# Before you can run this plugin, you must do:
# /usr/sbin/hwinfo --short > /etc/hw.original
# add to cron job:
# /usr/sbin/hwinfo --short > /etc/hw.current
# /usr/bin/diff /etc/hw.original /etc/hw.current
> /tmp/hw.check
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1060803&group_id=29880
From noreply at sourceforge.net Fri Nov 5 04:05:20 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Fri Nov 5 04:05:20 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1060883 ] Check hardware changes
Message-ID:
New Plugins item #1060883, was opened at 2004-11-05 12:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1060883&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rok Debevc (rokdebevc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check hardware changes
Initial Comment:
Tested on SuSE 9.1 Professional with the hwinfo-8.62-0.2
package installed.
#
# Before you can run this plugin, you must do:
# /usr/sbin/hwinfo --short > /etc/hw.original
# add to cron job:
# /usr/sbin/hwinfo --short > /etc/hw.current
# /usr/bin/diff /etc/hw.original /etc/hw.current
> /tmp/hw.check
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1060883&group_id=29880
From michal at abuzz.com.au Sun Nov 7 23:54:28 2004
From: michal at abuzz.com.au (Michal Polonski)
Date: Sun Nov 7 23:54:28 2004
Subject: [Nagiosplug-devel] Send_nsca authentication string
Message-ID:
Hi All!
I am trying to use passive checks to be able to send events to nagios.. not
i know send_nsca can do this , but I'm trying to mimick its functionality
and do it myself..
I have only got as far as connecting to the socket using hostIP and Port,
but my question is: how do I authenticate to the nagios server? - do I send
a passsword in a string formatted in a certain way upon connecting? what's
the syntax?
Searched the net, no help... can anyone here help?
thanks!!
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From noreply at sourceforge.net Mon Nov 8 00:52:44 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Mon Nov 8 00:52:44 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-689679 ] New plugin: check_oracle_tbs
Message-ID:
New Plugins item #689679, was opened at 2003-02-19 23:48
Message generated for change (Comment added) made by giteshtrivedi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=689679&group_id=29880
Category: Application monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Koyle (koiler)
Assigned to: Nobody/Anonymous (nobody)
Summary: New plugin: check_oracle_tbs
Initial Comment:
This is a simple plugin to connect to an oracle
database and check for tablespaces that are nearly full.
----------------------------------------------------------------------
Comment By: gitesh (giteshtrivedi)
Date: 2004-11-08 08:47
Message:
Logged In: YES
user_id=1140346
Dear friend,
It is not working.When I was executed the said patch that
time I got error that bad interprited.
Please clearify it.
----------------------------------------------------------------------
Comment By: John Marquart (vaix)
Date: 2003-02-20 18:15
Message:
Logged In: YES
user_id=102671
John - I will check out your code - am quite excited about
how you implemented it.
Just a FYI - the latest CVS version of the check_oracle plugin
(1.4) contains code to both check tablespace utilization as
well as cache hit percentages (library and data buffers).
-vaix
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=689679&group_id=29880
From noreply at sourceforge.net Mon Nov 8 00:54:12 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Mon Nov 8 00:54:12 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-759977 ] Oracle's alert log check plugin
Message-ID:
New Plugins item #759977, was opened at 2003-06-24 18:03
Message generated for change (Comment added) made by giteshtrivedi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=759977&group_id=29880
Category: Application monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Manish Gupta (mgupta)
Assigned to: Nobody/Anonymous (nobody)
Summary: Oracle's alert log check plugin
Initial Comment:
This Nagios plugin scans Oracle's alert log file (specified
with -F option) for ORA- errors. This plugin saves the
current log file and starts a new logfile with the same
name.
----------------------------------------------------------------------
Comment By: gitesh (giteshtrivedi)
Date: 2004-11-08 08:48
Message:
Logged In: YES
user_id=1140346
Dear friend,
It is not working.When I was executed it that time I got an
error of the bad interprited.
Please clerify it.
Thanks
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=759977&group_id=29880
From simon.bellwood at net-man.at Mon Nov 8 02:16:41 2004
From: simon.bellwood at net-man.at (Simon Bellwood)
Date: Mon Nov 8 02:16:41 2004
Subject: [Nagiosplug-devel] New plugin: Sybase database monitor
Message-ID: <1099908688.14532.16.camel@simon>
Good morning,
We have released the Nagios plugin we use to monitor our Sybase
databases.
The plugin connects to a Sybase database and checks free space.
Optionally, you can suppress the free space check, and just check
connectivity.
The plugin can be downloaded from:
http://www.net-man.at/software/check_sybase-LATEST.zip
There are the following dependencies:
DBI with DBD::Sybase
Getopt::Long
All bugs, comments and feedback are welcome :)
Simon Bellwood
NetMan Network Management and IT Services GmbH
From noreply at sourceforge.net Mon Nov 8 07:34:47 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Mon Nov 8 07:34:47 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-638898 ] check_ldap enhancement
Message-ID:
Patches item #638898, was opened at 2002-11-15 13:55
Message generated for change (Settings changed) made by gyufi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=638898&group_id=29880
Category: Enhancement
Group: None
>Status: Deleted
Resolution: Out of Date
Priority: 1
Submitted By: Gyula Szabo (gyufi)
Assigned to: Jeremy T. Bouse (undrgrid)
Summary: check_ldap enhancement
Initial Comment:
This patch is provide some new argument to plugin.
You could compare an LDAP attribute value with the set
limits or an expected value. There is verbose mode, print
all readable attribute from the DN.
New arguments are:
[-a <attr>]
[-e <expect>]
[-W <Warn_attr>]
[-C <Crit_attr>]
[-r]
[-v]
We use it to check the monitoring DN in iPlanet, for
currentconnections, threads, replica status etc.
----------------------------------------------------------------------
Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-16 23:08
Message:
Logged In: YES
user_id=10485
The patch file as provided is way out of date and unable to
be applied to the current code base. If possible please
provide an updated patch against the current code base for
evaluation for inclusion.
----------------------------------------------------------------------
Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-02-11 19:43
Message:
Logged In: YES
user_id=10485
As this adds new functionality it would be better to wait
until 1.3 releases and work on 1.4 begins.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=638898&group_id=29880
From noreply at sourceforge.net Mon Nov 8 08:14:56 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Mon Nov 8 08:14:56 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-689679 ] New plugin: check_oracle_tbs
Message-ID:
New Plugins item #689679, was opened at 2003-02-19 16:48
Message generated for change (Comment added) made by koiler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=689679&group_id=29880
Category: Application monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Koyle (koiler)
Assigned to: Nobody/Anonymous (nobody)
Summary: New plugin: check_oracle_tbs
Initial Comment:
This is a simple plugin to connect to an oracle
database and check for tablespaces that are nearly full.
----------------------------------------------------------------------
>Comment By: John Koyle (koiler)
Date: 2004-11-08 09:04
Message:
Logged In: YES
user_id=420165
Here's a new version of this script that has a query that
works better. If you have tablespaces with autoextending
data files the previous version may claim that you are
running out of space when datafiles still may autoextend.
This version calculates the total amount of space based on
how large the tablespace will become once all the datafiles
are extended to their max.
----------------------------------------------------------------------
Comment By: gitesh (giteshtrivedi)
Date: 2004-11-08 01:47
Message:
Logged In: YES
user_id=1140346
Dear friend,
It is not working.When I was executed the said patch that
time I got error that bad interprited.
Please clearify it.
----------------------------------------------------------------------
Comment By: John Marquart (vaix)
Date: 2003-02-20 11:15
Message:
Logged In: YES
user_id=102671
John - I will check out your code - am quite excited about
how you implemented it.
Just a FYI - the latest CVS version of the check_oracle plugin
(1.4) contains code to both check tablespace utilization as
well as cache hit percentages (library and data buffers).
-vaix
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=689679&group_id=29880
From trevorwarren at gmail.com Wed Nov 10 03:10:11 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 10 03:10:11 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
Message-ID: <559e3cb60411100309e9154f@mail.gmail.com>
Hello there folks,
I have been integrating Nagios for about 2-3 years now and really
find it a fantastic tool from Open Source when compared to the likes
of BMC patrol and Tivoli.
I am trying to compile some nagios plugins on my AIX 5.2 servers
which i am polling via nrpe. But the compilation seems to fail with
the following errors:
Making all in plugins
source='check_disk.c' object='check_disk.o' libtool=no
depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
depmode=gcc
/bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
-maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
source='utils.c' object='utils.o' libtool=no
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc
/bin/sh ../depcomp
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'utils.c' || echo './'`utils.c
source='popen.c' object='popen.o' libtool=no
depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc
/bin/sh ../depcomp
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'popen.c' || echo './'`popen.c
gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
I have looked about a lot and even found someone called eric who
might have had the same issues. He says in his mail that he has
written a patch. Guys/Gals, is there a way i can get over this
issue???. I have tried all version of nagios-plugin but all of them
fail to compile both on my 32/64 bit aix 5.2 boxes.
Do lemme know what you suggest and i shall try the same out.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From noreply at sourceforge.net Wed Nov 10 04:04:00 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 10 04:04:00 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1063759 ] Sybase database monitor
Message-ID:
New Plugins item #1063759, was opened at 2004-11-10 13:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1063759&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Bellwood (sb-netman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sybase database monitor
Initial Comment:
We use this plugin to monitor our Sybase databases.
The plugin connects to a Sybase database and checks
free space.
Optionally, you can suppress the free space check, and
just check
connectivity.
The plugin can be downloaded from:
http://www.net-man.at/software/check_sybase-LATEST.zip
There are the following dependencies:
DBI with DBD::Sybase
Getopt::Long
All bugs, comments and feedback are welcome :)
Simon Bellwood
NetMan Network Management and IT Services GmbH
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1063759&group_id=29880
From rnelson at windchannel.com Wed Nov 10 05:38:06 2004
From: rnelson at windchannel.com (Robert Nelson)
Date: Wed Nov 10 05:38:06 2004
Subject: [Nagiosplug-devel] Check_ping question
Message-ID:
On line 340 of check_ping.c from v1.3.1 of the nagios-plugins package:
=============================
if (max_packets == -1)
max_packets = DEFAULT_MAX_PACKETS;
max_seconds = crta / 1000.0 * max_packets + max_packets;
if (max_seconds > timeout_interval)
timeout_interval = (int)max_seconds;
=============================
For my check-host-alive command, I use the following:
=============================
# 'check-host-alive' command definition
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
4999.0,99% -c 5000.0,100% -p 3 -t 5
}
=============================
I use the warning/crit settings of 4999 and 5000ms because if I get to
this point, I just care if the host is there, let the service checks
(which are often pings themselves) tell me what's wrong. I send three
packets and want the hostcheck to end after 5 seconds, because of how
nagios serializes the hostchecks.
Here's my question - what good is a timeout value, if it will be
overridden by the Critical time? I end up with an *effective* timeout
value of (5000.0 / 1000.0 * 3 + 3 =) 18 seconds. This seems "broken" to
me.
I ended up commenting out the last three lines quoted from check_ping.c
and recompiling it. I'm just curious whether this is behavior by design
or by error, and whether I need to make notes about it for when
plugins-1.3.2 comes out. Thanks!
Rob Nelson
Network Engineer
Windchannel Communications
919-538-6326
From Ton.Voon at egg.com Wed Nov 10 06:42:01 2004
From: Ton.Voon at egg.com (Voon, Ton)
Date: Wed Nov 10 06:42:01 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
Message-ID:
Trevor,
Have you tried CVS HEAD? I did some work about 10 months ago on getting AIX
5.1 compiles working correctly.
Ton
-----Original Message-----
From: Trevor Warren [mailto:trevorwarren at gmail.com]
Sent: 10 November 2004 11:10
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
Hello there folks,
I have been integrating Nagios for about 2-3 years now and really find it
a fantastic tool from Open Source when compared to the likes of BMC patrol
and Tivoli.
I am trying to compile some nagios plugins on my AIX 5.2 servers which i
am polling via nrpe. But the compilation seems to fail with the following
errors:
Making all in plugins
source='check_disk.c' object='check_disk.o' libtool=no
depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
depmode=gcc
/bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
-maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
source='utils.c' object='utils.o' libtool=no
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc /bin/sh
../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'utils.c' || echo './'`utils.c
source='popen.c' object='popen.o' libtool=no
depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc /bin/sh
../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'popen.c' || echo './'`popen.c
gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
I have looked about a lot and even found someone called eric who might
have had the same issues. He says in his mail that he has written a patch.
Guys/Gals, is there a way i can get over this issue???. I have tried all
version of nagios-plugin but all of them fail to compile both on my 32/64
bit aix 5.2 boxes.
Do lemme know what you suggest and i shall try the same out.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's
Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
From ae at op5.se Wed Nov 10 07:32:14 2004
From: ae at op5.se (Andreas Ericsson)
Date: Wed Nov 10 07:32:14 2004
Subject: [Nagiosplug-devel] Check_ping question
In-Reply-To:
References:
Message-ID: <41923431.7040108@op5.se>
Robert Nelson wrote:
> On line 340 of check_ping.c from v1.3.1 of the nagios-plugins package:
>
> =============================
> if (max_packets == -1)
> max_packets = DEFAULT_MAX_PACKETS;
>
> max_seconds = crta / 1000.0 * max_packets + max_packets;
> if (max_seconds > timeout_interval)
> timeout_interval = (int)max_seconds;
> =============================
>
> For my check-host-alive command, I use the following:
>
> =============================
> # 'check-host-alive' command definition
> define command{
> command_name check-host-alive
> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
> 4999.0,99% -c 5000.0,100% -p 3 -t 5
> }
> =============================
>
> I use the warning/crit settings of 4999 and 5000ms because if I get to
> this point, I just care if the host is there, let the service checks
> (which are often pings themselves) tell me what's wrong. I send three
> packets and want the hostcheck to end after 5 seconds, because of how
> nagios serializes the hostchecks.
>
> Here's my question - what good is a timeout value, if it will be
> overridden by the Critical time?
Nonsensical. The timeout for iterative plugins should always be
calculated based on the sum of per-iteration timeouts (in this case, 5
seconds * 3 packets).
> I end up with an *effective* timeout
> value of (5000.0 / 1000.0 * 3 + 3 =) 18 seconds. This seems "broken" to
> me.
>
It isn't. If you specify a per-packet timeout value of 5 seconds and
send 3 packets that means the complete timeout must be at least equal to
15 seconds (I don't know where those extra three come from), otherwise
the per-packet timeout wouldn't make sense (should you count packets as
lost if they're not even sent?).
> I ended up commenting out the last three lines quoted from check_ping.c
> and recompiling it. I'm just curious whether this is behavior by design
> or by error, and whether I need to make notes about it for when
> plugins-1.3.2 comes out. Thanks!
>
It's obviously by design, and 1.3.2 won't come out. They're at 1.4.0
now. What would be good would be to remove the timeout value, but that
would make a LOT of configurations out there return UNKNOWN instead.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From rnelson at windchannel.com Wed Nov 10 08:26:03 2004
From: rnelson at windchannel.com (Robert Nelson)
Date: Wed Nov 10 08:26:03 2004
Subject: [Nagiosplug-devel] Check_ping question
Message-ID:
> Nonsensical. The timeout for iterative plugins should always be
> calculated based on the sum of per-iteration timeouts (in
> this case, 5
> seconds * 3 packets).
Yes, but what I'm really looking for is a real "check-host-alive". I
don't want a status report, I just want a PASS/FAIL result. Since Nagios
seems configured to use check_ping for it, I am not looking for it to be
an iterative plugin in this case.
> > I end up with an *effective* timeout
> > value of (5000.0 / 1000.0 * 3 + 3 =) 18 seconds. This seems
> "broken" to
> > me.
> >
>
> It isn't. If you specify a per-packet timeout value of 5 seconds and
> send 3 packets that means the complete timeout must be at
> least equal to
> 15 seconds (I don't know where those extra three come from),
> otherwise
> the per-packet timeout wouldn't make sense (should you count
> packets as
> lost if they're not even sent?).
I guess I also am confused on this one, as /bin/ping on most OS's will
send packet 2 at 1000ms, and packet 3 at 2000ms, with a 5000 ms timeout,
that's 7.0000000001 seconds total. Why are we going all the way up to
18, or even 15 seconds then?
> > I ended up commenting out the last three lines quoted from
> check_ping.c
> > and recompiling it. I'm just curious whether this is
> behavior by design
> > or by error, and whether I need to make notes about it for when
> > plugins-1.3.2 comes out. Thanks!
> >
>
> It's obviously by design, and 1.3.2 won't come out. They're at 1.4.0
> now. What would be good would be to remove the timeout value,
> but that
> would make a LOT of configurations out there return UNKNOWN instead.
I'll note that. I don't mind the way it calculates how long it *should*
take. To me it appears that a specified "timeout" value should not be
overridden, though.
Rob Nelson
Network Engineer
Windchannel Communications
919-538-6326
From ae at op5.se Wed Nov 10 16:42:01 2004
From: ae at op5.se (Andreas Ericsson)
Date: Wed Nov 10 16:42:01 2004
Subject: [Nagiosplug-devel] Check_ping question
In-Reply-To:
References:
Message-ID: <4192B538.2080803@op5.se>
Robert Nelson wrote:
>>Nonsensical. The timeout for iterative plugins should always be
>>calculated based on the sum of per-iteration timeouts (in
>>this case, 5
>>seconds * 3 packets).
>
>
> Yes, but what I'm really looking for is a real "check-host-alive". I
> don't want a status report, I just want a PASS/FAIL result. Since Nagios
> seems configured to use check_ping for it, I am not looking for it to be
> an iterative plugin in this case.
>
I'm working on writing a check_host_alive plugin, which will be able to
do just this.
>
>>>I end up with an *effective* timeout
>>>value of (5000.0 / 1000.0 * 3 + 3 =) 18 seconds. This seems
>>
>>"broken" to
>>
>>>me.
>>>
>>
>>It isn't. If you specify a per-packet timeout value of 5 seconds and
>>send 3 packets that means the complete timeout must be at
>>least equal to
>>15 seconds (I don't know where those extra three come from),
>>otherwise
>>the per-packet timeout wouldn't make sense (should you count
>>packets as
>>lost if they're not even sent?).
>
>
> I guess I also am confused on this one, as /bin/ping on most OS's will
> send packet 2 at 1000ms, and packet 3 at 2000ms, with a 5000 ms timeout,
> that's 7.0000000001 seconds total. Why are we going all the way up to
> 18, or even 15 seconds then?
>
It's just the maximum. check_ping doesn't have a backoff factor (which
is what you describe), since it forks system ping to do its dirtywork.
>
>
>>>I ended up commenting out the last three lines quoted from
>>
>>check_ping.c
>>
>>>and recompiling it. I'm just curious whether this is
>>
>>behavior by design
>>
>>>or by error, and whether I need to make notes about it for when
>>>plugins-1.3.2 comes out. Thanks!
>>>
>>
>>It's obviously by design, and 1.3.2 won't come out. They're at 1.4.0
>>now. What would be good would be to remove the timeout value,
>>but that
>>would make a LOT of configurations out there return UNKNOWN instead.
>
>
> I'll note that. I don't mind the way it calculates how long it *should*
> take. To me it appears that a specified "timeout" value should not be
> overridden, though.
>
It isn't overridden. It's just prioritized lower than the timeout value
specified in the threshold values for programmatical reasons.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From agrajag at dragaera.net Wed Nov 10 18:03:26 2004
From: agrajag at dragaera.net (Sean Dilda)
Date: Wed Nov 10 18:03:26 2004
Subject: [Nagiosplug-devel] Check_ping question
In-Reply-To: <4192B538.2080803@op5.se>
References:
<4192B538.2080803@op5.se>
Message-ID: <1100138539.15101.46.camel@pel>
On Wed, 2004-11-10 at 19:41, Andreas Ericsson wrote:
> > I guess I also am confused on this one, as /bin/ping on most OS's will
> > send packet 2 at 1000ms, and packet 3 at 2000ms, with a 5000 ms timeout,
> > that's 7.0000000001 seconds total. Why are we going all the way up to
> > 18, or even 15 seconds then?
> >
>
> It's just the maximum. check_ping doesn't have a backoff factor (which
> is what you describe), since it forks system ping to do its dirtywork.
How does check_ping not have that? I ran some tests. If you tell
check_ping to send 3 packets, it calls ping once and tells ping to send
3 packets. Therefore, check_ping sends the packets out at one-second
intervals because ping sends them out at one-second intervals. So, if
you have a 5 second critical timeout, and are sending 3 packets, the
maximum theoretical timeout is just over 7 seconds (as Robert pointed
out). Waiting for 15+ seconds is just wasted time.
Having seen what happens to a nagios system that undergoes a massive
network outage (with few network switches defined), I think its very
important that the check-host-alive plugins not waste more time than
they can. (This is due in large part to the fact that nagios serializes
them.)
From rnelson at windchannel.com Wed Nov 10 18:36:08 2004
From: rnelson at windchannel.com (Robert Nelson)
Date: Wed Nov 10 18:36:08 2004
Subject: [Nagiosplug-devel] Check_ping question
Message-ID:
>> Yes, but what I'm really looking for is a real "check-host-alive". I
>> don't want a status report, I just want a PASS/FAIL result. Since Nagios
>> seems configured to use check_ping for it, I am not looking for it to be
>> an iterative plugin in this case.
>>
>
>I'm working on writing a check_host_alive plugin, which will be able to
>do just this.
I'm very interested in this, please let me know when you've got something I might be able to download/test...assuming you're making this for the public domain, of course. :)
>It isn't overridden. It's just prioritized lower than the timeout value
>specified in the threshold values for programmatical reasons.
What I mean is, if I specify a timeout, I don't care what the programmer thinks of my timeout value - the program should use the value I gave it. Otherwise, that flag is pretty much useless. Not to sound too righteous, but a "user specified flag" that gets ignored isn't really allowing the user to specify squat :)
Rob Nelson
From trevorwarren at gmail.com Wed Nov 10 18:50:01 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 10 18:50:01 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
In-Reply-To:
References:
Message-ID: <559e3cb60411101849613b9458@mail.gmail.com>
Hiyee there,
Your post is as below, i have demarcated the same with ####. But
what you have faced is significantly different from the issue i have
encountered while trying to compile the Nagios plugins on AIX 5.2
The issue i have encountered on all my AIX 5.2 32/64 bit boxes are ...
" gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1."
#####################
#Voon Ton in his mail in Sep17 2003 said.....
#####################
Sorry to post a reply to my own email, but I"ve finally got it working.
Turns out we weren"t using lib/Makefile.am quite how I was expecting it to
be used.
All standard plugins now compile on AIX (5.1) in CVS.
Ton
> -----Original Message-----
> From: Voon, Ton [mailto:Ton.Voon at eg...]
> Sent: Wednesday, September 17, 2003 1:00 PM
> To: NagiosPlug Devel
> Subject: [Nagiosplug-devel] AIX support
>
>
> I"ve been working on the plugins so that check_procs and
> check_swap work in
> AIX (tested on AIX 5.1). However, I"m hitting an autoconf
> problem which is
> really annoying me now.
>
> I get an ERROR: Undefined symbol: .xmalloc
>
> when I try and compile check_disk. It seems that in the
> original coreutils,
> it uses some autoconf routines to replace xmalloc, which I
> can get working,
> but these replacement routines are asking for rpl_malloc
> which is provided
> by malloc.c, but I can"t get it to conditionally compile.
>
> Does anyone have an idea on how to add this in?
>
> Ton
#####################
#Voon Ton said.....
#####################
Trevor
On Wed, 10 Nov 2004 14:39:04 -0000, Voon, Ton wrote:
> Trevor,
>
> Have you tried CVS HEAD? I did some work about 10 months ago on getting AIX
> 5.1 compiles working correctly.
>
> Ton
>
>
>
> -----Original Message-----
> From: Trevor Warren [mailto:trevorwarren at gmail.com]
> Sent: 10 November 2004 11:10
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
>
> Hello there folks,
>
> I have been integrating Nagios for about 2-3 years now and really find it
> a fantastic tool from Open Source when compared to the likes of BMC patrol
> and Tivoli.
>
> I am trying to compile some nagios plugins on my AIX 5.2 servers which i
> am polling via nrpe. But the compilation seems to fail with the following
> errors:
>
> Making all in plugins
> source='check_disk.c' object='check_disk.o' libtool=no
> depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
> depmode=gcc
> /bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
> -maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
> source='utils.c' object='utils.o' libtool=no
> depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc /bin/sh
> ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> -DHAVE_CONFIG_H -I.
> -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> 'utils.c' || echo './'`utils.c
> source='popen.c' object='popen.o' libtool=no
> depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc /bin/sh
> ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> -DHAVE_CONFIG_H -I.
> -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> 'popen.c' || echo './'`popen.c
> gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
> ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
>
> I have looked about a lot and even found someone called eric who might
> have had the same issues. He says in his mail that he has written a patch.
> Guys/Gals, is there a way i can get over this issue???. I have tried all
> version of nagios-plugin but all of them fail to compile both on my 32/64
> bit aix 5.2 boxes.
>
> Do lemme know what you suggest and i shall try the same out.
>
> Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From trevorwarren at gmail.com Wed Nov 10 18:53:01 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 10 18:53:01 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails
In-Reply-To: <7C462C8A-332F-11D9-A0F4-000A95CA480A@fivepointsconsulting.org>
References: <559e3cb60411100309e9154f@mail.gmail.com>
<7C462C8A-332F-11D9-A0F4-000A95CA480A@fivepointsconsulting.org>
Message-ID: <559e3cb604111018521a5210f5@mail.gmail.com>
Hiyee Gunnar,
I have found an email which says the following:
"From: Eric Lauriault
aix 5.2 patch for nagios-plugins-1.4.0alpha1
2004-05-27 13:03
Hi,
Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
due to misplacement of a VA_COPY and an infinite loop while in
read_filesystem_list.
Enjoy!
Eric Lauriault, eric at la...
Analyste/Administrateur UNIX/telecom/reseau
La Cite collegiale"
Is this the same issue we are having for which Eric has written a
patch???. Can we still find eric on this mailing list??. Last, do you
want me to try out the CVS or you are sure it doesn't work???. If i
find any binaries/source that work, be rest assured i will drop all of
you an email.
Trevor
On Wed, 10 Nov 2004 10:45:02 -0500, Gunnar Hellekson
wrote:
> I'm having this same problem precisely with the CVS HEAD. If you make
> any headway, or find a source for binaries, I'd really appreciate it.
>
>
>
>
> On ????/??/??, at ?:?? ?, Trevor Warren wrote:
>
> > Hello there folks,
> >
> > I have been integrating Nagios for about 2-3 years now and really
> > find it a fantastic tool from Open Source when compared to the likes
> > of BMC patrol and Tivoli.
> >
> > I am trying to compile some nagios plugins on my AIX 5.2 servers
> > which i am polling via nrpe. But the compilation seems to fail with
> > the following errors:
> >
> > Making all in plugins
> > source='check_disk.c' object='check_disk.o' libtool=no
> > depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
> > depmode=gcc
> > /bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> > -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
> > -maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
> > source='utils.c' object='utils.o' libtool=no
> > depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc
> > /bin/sh ../depcomp
> > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> > -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> > 'utils.c' || echo './'`utils.c
> > source='popen.c' object='popen.o' libtool=no
> > depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc
> > /bin/sh ../depcomp
> > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> > -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> > 'popen.c' || echo './'`popen.c
> > gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
> > ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
> > ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
> > ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
> > ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
> > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> > information.
> > collect2: ld returned 8 exit status
> > make: 1254-004 The error code from the last command is 1.
> >
> >
> > I have looked about a lot and even found someone called eric who
> > might have had the same issues. He says in his mail that he has
> > written a patch. Guys/Gals, is there a way i can get over this
> > issue???. I have tried all version of nagios-plugin but all of them
> > fail to compile both on my 32/64 bit aix 5.2 boxes.
> >
> > Do lemme know what you suggest and i shall try the same out.
> >
> > Trevor
> > --
> > ___________________________________
> > ( >- / Scaling FreeSoftware & OpenSource \ -< )
> > /~\ / In the Enterprise \
> > /~\
> > | \) \ | www.fsf.org | www.opensource.org | / (/ |
> > |_|_ \____________________________________/ _|_|
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > Nagiosplug-devel mailing list
> > Nagiosplug-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> > ::: Please include plugins version (-v) and OS when reporting any
> > issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
> >
>
>
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From trevorwarren at gmail.com Wed Nov 10 18:58:02 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 10 18:58:02 2004
Subject: [Nagiosplug-devel] whose eric - and do we have a patch for AIX 5.2????
Message-ID: <559e3cb604111018571dbf3c39@mail.gmail.com>
Hiyee there guys/Gals,
This is an email i fished out from google. It says some one called
Eric has done a patch for AIX 5.2, though i am not too sure if it has
been merged into the CVS. Eric are you still on this mailing list??.
Does anyone know eric???. And is this the same patch for the issue i
have been having with a failed compilation on Aix 5.2???.
Eric's mail is as below. I have read his email but cant find a bloody
link anywhere to the patch. ...:(
"From: Eric Lauriault
aix 5.2 patch for nagios-plugins-1.4.0alpha1
2004-05-27 13:03
Hi,
Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
due to misplacement of a VA_COPY and an infinite loop while in
read_filesystem_list.
Enjoy!
Eric Lauriault, eric at la...
Analyste/Administrateur UNIX/telecom/reseau
La Cite collegiale"
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From trevorwarren at gmail.com Wed Nov 10 19:15:00 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 10 19:15:00 2004
Subject: [Nagiosplug-devel] AIx 5.2 and nagios-plugins
Message-ID: <559e3cb604111019142c914e5b@mail.gmail.com>
Hiyee there Eric,
Thanks for taking the time to read this email. I had some issues
with compilation of the Nagios plugins on AIX 5.2. I am using GCC and
these are the errors i have encountered on all my AIX 5.2 32/64 bit
boxes.
Making all in plugins
source='check_disk.c' object='check_disk.o' libtool=no
depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
depmode=gcc
/bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
-maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
source='utils.c' object='utils.o' libtool=no
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc
/bin/sh ../depcomp
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'utils.c' || echo './'`utils.c
source='popen.c' object='popen.o' libtool=no
depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc
/bin/sh ../depcomp
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
'popen.c' || echo './'`popen.c
gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
Your email written sometime ago talks about a patch you had written.
Is it for this same issue Eric. If you don't mind can you pls point me
to that patch......i am in a production env here at bombay with quite
a few AIX 5.2 32/64 bit boxes to maintain. Please lemme know how i can
pull out of this situation.
######################
#Eric wrote a long time ago.....
######################
http://sourceforge.net/mailarchive/forum.php?thread_id=4854545&forum_id=8499
From: Eric Lauriault
aix 5.2 patch for nagios-plugins-1.4.0alpha1
2004-05-27 13:03
Hi,
Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
due to misplacement of a VA_COPY and an infinite loop while in
read_filesystem_list.
Enjoy!
Eric Lauriault, eric at la...
Analyste/Administrateur UNIX/telecom/reseau
La Cite collegiale
######################
#Eric wrote a long time ago.....
######################
Thanks in advance and pls revert back Eric.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From ae at op5.se Thu Nov 11 02:22:00 2004
From: ae at op5.se (Andreas Ericsson)
Date: Thu Nov 11 02:22:00 2004
Subject: [Nagiosplug-devel] Check_ping question
In-Reply-To: <1100138539.15101.46.camel@pel>
References: <4192B538.2080803@op5.se> <1100138539.15101.46.camel@pel>
Message-ID: <41933D07.2060601@op5.se>
Sean Dilda wrote:
> On Wed, 2004-11-10 at 19:41, Andreas Ericsson wrote:
>
>
>>>I guess I also am confused on this one, as /bin/ping on most OS's will
>>>send packet 2 at 1000ms, and packet 3 at 2000ms, with a 5000 ms timeout,
>>>that's 7.0000000001 seconds total. Why are we going all the way up to
>>>18, or even 15 seconds then?
>>>
>>
>>It's just the maximum. check_ping doesn't have a backoff factor (which
>>is what you describe), since it forks system ping to do its dirtywork.
>
>
> How does check_ping not have that?
Last time I checked, check_ping used the -i flag, which overrides gnu
ping's backoff factor.
> I ran some tests. If you tell
> check_ping to send 3 packets, it calls ping once and tells ping to send
> 3 packets. Therefore, check_ping sends the packets out at one-second
> intervals because ping sends them out at one-second intervals. So, if
> you have a 5 second critical timeout, and are sending 3 packets, the
> maximum theoretical timeout is just over 7 seconds (as Robert pointed
> out). Waiting for 15+ seconds is just wasted time.
>
My guess is that the -i flag argument is taken from the critical rta
threshold. Also, ping doesn't thread (why should it), so that might
present a problem with. It's just a guess, though, so I wouldn't know.
What I do know is that once the ping binary has finished up, check_ping
just parses the output and prints it, so the check_ping timeout value is
more of a safeguard against ping crashing/hanging/whatever.
> Having seen what happens to a nagios system that undergoes a massive
> network outage (with few network switches defined), I think its very
> important that the check-host-alive plugins not waste more time than
> they can.
If by "can" you mean "have to" I'm with you there. Hence the work I'm
putting down on the check_host_alive plugin. It will make Nagios scale
nicely (at least nicer) even on very broken networks.
> (This is due in large part to the fact that nagios serializes them.)
>
Yes. That part needs to be rewritten, but it's a sort of major design
issue so me and other contributors are unwilling to take it on since
Ethan might reject it. It's also pretty difficult, so it's not exactly
the kind of thing you do over lunch, which means rejection would hurt a
little bit. ;)
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From ae at op5.se Thu Nov 11 02:32:01 2004
From: ae at op5.se (Andreas Ericsson)
Date: Thu Nov 11 02:32:01 2004
Subject: [Nagiosplug-devel] Check_ping question
In-Reply-To:
References:
Message-ID: <41933F82.4070901@op5.se>
Robert Nelson wrote:
>>> Yes, but what I'm really looking for is a real
>>> "check-host-alive". I don't want a status report, I just want a
>>> PASS/FAIL result. Since Nagios seems configured to use check_ping
>>> for it, I am not looking for it to be an iterative plugin in this
>>> case.
>>>
>>
>> I'm working on writing a check_host_alive plugin, which will be
>> able to do just this.
>
>
> I'm very interested in this, please let me know when you've got
> something I might be able to download/test...assuming you're making
> this for the public domain, of course. :)
>
It will. I'll put it at http://oss.op5.se when I'm done with it.
>
>> It isn't overridden. It's just prioritized lower than the timeout
>> value specified in the threshold values for programmatical reasons.
>>
>
>
> What I mean is, if I specify a timeout, I don't care what the
> programmer thinks of my timeout value - the program should use the
> value I gave it. Otherwise, that flag is pretty much useless. Not to
> sound too righteous, but a "user specified flag" that gets ignored
> isn't really allowing the user to specify squat :)
>
You need to keep in mind that both values come from you. One of them
needs to be clobbered by the other, so the coder just had to choose one.
If indeed the system ping is passed the -i flag as the sum of
critical_rta_threshold * packets_to_send then using the timeout value
specified with -t flag to check_ping would result zombied ping processes
and UNKNOWN return code for check_ping, since it can't parse output
until ping is done. That's not something a healthy plugin throws at your
system.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From rnelson at windchannel.com Thu Nov 11 04:56:06 2004
From: rnelson at windchannel.com (Robert Nelson)
Date: Thu Nov 11 04:56:06 2004
Subject: [Nagiosplug-devel] Check_ping question
Message-ID:
>> (This is due in large part to the fact that nagios serializes them.)
>>
>
>Yes. That part needs to be rewritten, but it's a sort of major design
>issue so me and other contributors are unwilling to take it on since
>Ethan might reject it. It's also pretty difficult, so it's not exactly
>the kind of thing you do over lunch, which means rejection would hurt a
>little bit. ;)
I'd like to say that there are two things I'd love to see in Nagios more than anything else:
1) Host checks in parallel - which it seems like some people are tackling, if only in their heads
2) Wait for service checks to enter a HARD state before doing the host checks - what's the use of setting a service check to 5 minute retry_intervals if the host check kicks in after the first failed service check?
Other than that, everything else I've said is just a nitpick :)
Rob Nelson
From rnelson at windchannel.com Thu Nov 11 05:02:08 2004
From: rnelson at windchannel.com (Robert Nelson)
Date: Thu Nov 11 05:02:08 2004
Subject: [Nagiosplug-devel] Check_ping question
Message-ID:
>You need to keep in mind that both values come from you. One of them
>needs to be clobbered by the other, so the coder just had to choose one.
>
>If indeed the system ping is passed the -i flag as the sum of
>critical_rta_threshold * packets_to_send then using the timeout value
>specified with -t flag to check_ping would result zombied ping processes
>and UNKNOWN return code for check_ping, since it can't parse output
>until ping is done. That's not something a healthy plugin throws at your
>system.
FWIW, when I commented out the line that sets the timeout to (crta in seconds * packets + packets) if it's larger than the timeout value, essentially choosing the explicitly set timeout value as the override, things still work. If my timeout is 5 seconds, after 5 seconds, the /bin/ping process is killed and the plugin returns a CRITICAL "plugin timed out" error - just like it did before after 18 seconds.
The command called by check_ping is:
/bin/ping -n -U [-c ]
The plugin does not pass -i to ping, or any sort of timeout value. The *only* modification I made to the source were commenting the three aforementioned lines. System info:
[bambam]# uname -a
Linux bambam 2.4.20-18.8smp #1 SMP Thu May 29 07:20:32 EDT 2003 i686 i686 i386 GNU/Linux
Rob Nelson
From tonvoon at mac.com Thu Nov 11 16:55:07 2004
From: tonvoon at mac.com (Ton Voon)
Date: Thu Nov 11 16:55:07 2004
Subject: [Nagiosplug-devel] AIx 5.2 and nagios-plugins
In-Reply-To: <559e3cb604111019142c914e5b@mail.gmail.com>
References: <559e3cb604111019142c914e5b@mail.gmail.com>
Message-ID: <6524489E-3445-11D9-A18A-000A95D47298@mac.com>
Trevor,
Can you try the latest CVS HEAD. I've just updated some of the
libraries from coreutils and snprintf.c from samba. This incorporates
the patch that Eric had provided in an earlier email (fortunately,
archived in my mail). Here's Eric's patch if you prefer to use this:
diff -Paru nagios-plugins-1.4.0alpha1-orig/lib/mountlist.c
nagios-plugins-1.4.0alpha1/lib/mountlist.c
--- nagios-plugins-1.4.0alpha1-orig/lib/mountlist.c 2003-10-29
21:18:12.000000000 -0500
+++ nagios-plugins-1.4.0alpha1/lib/mountlist.c 2004-05-27
15:35:46.000000000 -0400
@@ -719,7 +719,7 @@
/* Get the list of mounted filesystems. */
mntctl (MCTL_QUERY, bufsize, (struct vmount *) entries);
- for (thisent = entries; thisent < entries + bufsize;
+ for (thisent = entries; thisent < entries + bufsize && ((struct
vmount *) thisent)->vmt_length;
thisent += vmp->vmt_length)
{
char *options, *ignore;
diff -Paru nagios-plugins-1.4.0alpha1-orig/lib/snprintf.c
nagios-plugins-1.4.0alpha1/lib/snprintf.c
--- nagios-plugins-1.4.0alpha1-orig/lib/snprintf.c 2003-03-07
20:59:30.000000000 -0500
+++ nagios-plugins-1.4.0alpha1/lib/snprintf.c 2004-05-27
15:30:53.000000000 -0400
@@ -85,6 +85,14 @@
#include
#endif
+#ifndef VA_COPY
+#ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) __va_copy(dest, src)
+#else
+#define VA_COPY(dest, src) (dest) = (src)
+#endif
+#endif
+
#if defined(HAVE_SNPRINTF) && defined(HAVE_VSNPRINTF) &&
defined(HAVE_C99_VSNPRINTF)
/* only include stdio.h if we are not re-defining snprintf or
vsnprintf */
#include
@@ -109,13 +117,6 @@
#define SAFE_FREE(x) do { if ((x) != NULL) {free((x)); (x)=NULL;} }
while(0)
#endif
-#ifndef VA_COPY
-#ifdef HAVE_VA_COPY
-#define VA_COPY(dest, src) __va_copy(dest, src)
-#else
-#define VA_COPY(dest, src) (dest) = (src)
-#endif
-#endif
static size_t dopr(char *buffer, size_t maxlen, const char *format,
va_list args_in);
Ton
On 11 Nov 2004, at 03:14, Trevor Warren wrote:
> Hiyee there Eric,
>
> Thanks for taking the time to read this email. I had some issues
> with compilation of the Nagios plugins on AIX 5.2. I am using GCC and
> these are the errors i have encountered on all my AIX 5.2 32/64 bit
> boxes.
>
> Making all in plugins
> source='check_disk.c' object='check_disk.o' libtool=no
> depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo'
> depmode=gcc
> /bin/sh ../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -g -O2
> -maix32 -c `test -f 'check_disk.c' || echo './'`check_disk.c
> source='utils.c' object='utils.o' libtool=no
> depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc
> /bin/sh ../depcomp
> gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> 'utils.c' || echo './'`utils.c
> source='popen.c' object='popen.o' libtool=no
> depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' depmode=gcc
> /bin/sh ../depcomp
> gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
> -I. -I.. -I.. -I../lib -I../intl -g -O2 -maix32 -c `test -f
> 'popen.c' || echo './'`popen.c
> gcc -g -O2 -maix32 -L. -o check_disk check_disk.o utils.o
> ../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
> ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
>
> Your email written sometime ago talks about a patch you had written.
> Is it for this same issue Eric. If you don't mind can you pls point me
> to that patch......i am in a production env here at bombay with quite
> a few AIX 5.2 32/64 bit boxes to maintain. Please lemme know how i can
> pull out of this situation.
>
> ######################
> #Eric wrote a long time ago.....
> ######################
> http://sourceforge.net/mailarchive/forum.php?
> thread_id=4854545&forum_id=8499
> From: Eric Lauriault
> aix 5.2 patch for nagios-plugins-1.4.0alpha1
> 2004-05-27 13:03
>
> Hi,
>
> Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
> due to misplacement of a VA_COPY and an infinite loop while in
> read_filesystem_list.
>
> Enjoy!
>
> Eric Lauriault, eric at la...
> Analyste/Administrateur UNIX/telecom/reseau
> La Cite collegiale
> ######################
> #Eric wrote a long time ago.....
> ######################
>
> Thanks in advance and pls revert back Eric.
>
> Trevor
>
> --
> ___________________________________
> ( >- / Scaling FreeSoftware & OpenSource \ -< )
> /~\ / In the Enterprise \
> /~\
> | \) \ | www.fsf.org | www.opensource.org | / (/ |
> |_|_ \____________________________________/ _|_|
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any
> issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
From elauri at lacitec.on.ca Fri Nov 12 07:23:03 2004
From: elauri at lacitec.on.ca (Eric Lauriault)
Date: Fri Nov 12 07:23:03 2004
Subject: [Nagiosplug-devel] Re: AIx 5.2 and nagios-plugins
Message-ID:
Hi Trevor,
I guess the patch wasn't attached to the original posting. The error msg
seem similar to what I was getting if I remember correctly. You might
want to know this wasn't tested on AIX 5.2/32 only on AIX5.2/64. I've
been using it in a production environment on 2 boxes and it works for
me. Hope this helps.
diff -Paru nagios-plugins-1.4.0alpha1-orig/lib/mountlist.c
nagios-plugins-1.4.0alpha1/lib/mountlist.c
--- nagios-plugins-1.4.0alpha1-orig/lib/mountlist.c 2003-10-29
21:18:12.000000000 -0500
+++ nagios-plugins-1.4.0alpha1/lib/mountlist.c 2004-05-27
15:35:46.000000000 -0400
@@ -719,7 +719,7 @@
/* Get the list of mounted filesystems. */
mntctl (MCTL_QUERY, bufsize, (struct vmount *) entries);
- for (thisent = entries; thisent < entries + bufsize;
+ for (thisent = entries; thisent < entries + bufsize && ((struct
vmount *) thisent)->vmt_length;
thisent += vmp->vmt_length)
{
char *options, *ignore;
diff -Paru nagios-plugins-1.4.0alpha1-orig/lib/snprintf.c
nagios-plugins-1.4.0alpha1/lib/snprintf.c
--- nagios-plugins-1.4.0alpha1-orig/lib/snprintf.c 2003-03-07
20:59:30.000000000 -0500
+++ nagios-plugins-1.4.0alpha1/lib/snprintf.c 2004-05-27
15:30:53.000000000 -0400
@@ -85,6 +85,14 @@
#include
#endif
+#ifndef VA_COPY
+#ifdef HAVE_VA_COPY
+#define VA_COPY(dest, src) __va_copy(dest, src)
+#else
+#define VA_COPY(dest, src) (dest) = (src)
+#endif
+#endif
+
#if defined(HAVE_SNPRINTF) && defined(HAVE_VSNPRINTF) &&
defined(HAVE_C99_VSNPRINTF)
/* only include stdio.h if we are not re-defining snprintf or vsnprintf
*/
#include
@@ -109,13 +117,6 @@
#define SAFE_FREE(x) do { if ((x) != NULL) {free((x)); (x)=NULL;} }
while(0)
#endif
-#ifndef VA_COPY
-#ifdef HAVE_VA_COPY
-#define VA_COPY(dest, src) __va_copy(dest, src)
-#else
-#define VA_COPY(dest, src) (dest) = (src)
-#endif
-#endif
static size_t dopr(char *buffer, size_t maxlen, const char *format,
va_list args_in);
Eric Lauriault, eric at lacitec.on.ca
Analyste/Administrateur UNIX/telecom/reseau
La Cite collegiale
From dick at terena.nl Fri Nov 12 07:23:16 2004
From: dick at terena.nl (Dick Visser)
Date: Fri Nov 12 07:23:16 2004
Subject: [Nagiosplug-devel] compile issues?
Message-ID:
Hi guys
I am trying to compile the plugins-v1.4 but I am having some trouble.
When using 1.4.0aplpha1 I get this error:
In file included from /usr/include/mysql/mysql.h:57,
from check_mysql.c:25:
/usr/include/mysql/mysql_com.h:181: conflicting types for `my_connect'
netutils.h:50: previous declaration of `my_connect'
make[2]: *** [check_mysql.o] Error 1
make[2]: Leaving directory `/root/src/nagios-plugins-1.4.0alpha1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/nagios-plugins-1.4.0alpha1'
make: *** [all] Error 2
WHen using HEAD-200411120547 I get:
Making all in po
make[2]: Entering directory
`/root/src/nagios-plugins-HEAD-200411120547/po'
: --update fr.po nagios-plugins.pot
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po
error while opening "fr.po" for reading: No such file or directory
make[2]: *** [fr.gmo] Error 1
make[2]: Leaving directory `/root/src/nagios-plugins-HEAD-200411120547/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/nagios-plugins-HEAD-200411120547'
make: *** [all] Error 2
ANy ideas?
FYI I use mysql-4.0.21 libs.
--
Dick Visser
TERENA IT-support officer / webmaster
Singel 468D, 1017 AW, Amsterdam, The Netherlands
Phone: +31 20 5304488 Fax: +31 20 5304499
Email: dick at terena.nl http://www.terena.nl
Live webcam: http://www.terena.nl/~dick/cam2.asx
PGP-key: http://www.terena.nl/~dick/pgp.key.asc
From matt at bravenet.com Fri Nov 12 08:10:23 2004
From: matt at bravenet.com (Matthew Kent)
Date: Fri Nov 12 08:10:23 2004
Subject: [Nagiosplug-devel] Volunteering
Message-ID: <1100250532.2988.17.camel@fuego>
Oops, dang list moderation, I'll send it through this account. Ignore the other one.
Can't help but notice the rather large backlog of open bugs/patches/and
especially contributed plugins in sourceforge.
The last official release of the plugin package is a few weeks short of
a year old as well.
I'm offering my time to help move things along if it's wanted.
--
Matthew Kent \ SA \ bravenet.com
From Ton.Voon at egg.com Fri Nov 12 08:44:32 2004
From: Ton.Voon at egg.com (Voon, Ton)
Date: Fri Nov 12 08:44:32 2004
Subject: [Nagiosplug-devel] compile issues?
Message-ID:
Does fr.po exist?
I made some changes last night that may have had an effect on the
snapshot....
-----Original Message-----
From: Dick Visser [mailto:dick at terena.nl]
Sent: 12 November 2004 14:09
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] compile issues?
Hi guys
I am trying to compile the plugins-v1.4 but I am having some trouble.
When using 1.4.0aplpha1 I get this error:
In file included from /usr/include/mysql/mysql.h:57,
from check_mysql.c:25:
/usr/include/mysql/mysql_com.h:181: conflicting types for `my_connect'
netutils.h:50: previous declaration of `my_connect'
make[2]: *** [check_mysql.o] Error 1
make[2]: Leaving directory `/root/src/nagios-plugins-1.4.0alpha1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/nagios-plugins-1.4.0alpha1'
make: *** [all] Error 2
WHen using HEAD-200411120547 I get:
Making all in po
make[2]: Entering directory `/root/src/nagios-plugins-HEAD-200411120547/po'
: --update fr.po nagios-plugins.pot
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics -o fr.gmo fr.po error while
opening "fr.po" for reading: No such file or directory
make[2]: *** [fr.gmo] Error 1
make[2]: Leaving directory `/root/src/nagios-plugins-HEAD-200411120547/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/nagios-plugins-HEAD-200411120547'
make: *** [all] Error 2
ANy ideas?
FYI I use mysql-4.0.21 libs.
--
Dick Visser
TERENA IT-support officer / webmaster
Singel 468D, 1017 AW, Amsterdam, The Netherlands
Phone: +31 20 5304488 Fax: +31 20 5304499
Email: dick at terena.nl http://www.terena.nl
Live webcam: http://www.terena.nl/~dick/cam2.asx
PGP-key: http://www.terena.nl/~dick/pgp.key.asc
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's
Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
From mkent at magoazul.com Fri Nov 12 09:26:39 2004
From: mkent at magoazul.com (Matthew Kent)
Date: Fri Nov 12 09:26:39 2004
Subject: [Nagiosplug-devel] Volunteering
Message-ID: <1100248566.2988.12.camel@fuego>
Can't help but notice the rather large backlog of open bugs/patches/and
especially contributed plugins in sourceforge.
The last official release of the plugin package is a few weeks short of
a year old as well.
I'm offering my time to help move things along if it's wanted.
--
Matthew Kent
http://magoazul.com
From Ben at clewett.org.uk Mon Nov 15 02:18:01 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Mon Nov 15 02:18:01 2004
Subject: [Nagiosplug-devel] check_load, inaccurate results.
In-Reply-To:
References:
Message-ID: <41988224.1000001@clewett.org.uk>
Dear plugin developers,
I have noticed that the check_load only reports integer performance
data. Eg:
OK - load average: 0.62, 0.68, 0.58 | load1=0;1;2;0 load5=0;2;3;0
load15=0;3;4;0
This plugin used to return correct values. These inaccurate results
don't provide the accuracy to reflect a history of the true performance
of the system.
I note the new perfdata call in utils.c:
char *perfdata (const char *label,
long int val,
const char *uom,
int warnp,
long int warn,
int critp,
long int crit,
int minp,
long int minv,
int maxp,
long int maxv)
{
However, performance data from a few plugins is required to respect
floating point numbers. Can I suggest this function is changed to
accept real numbers and not integers?
I also note that this function call cannot handle the range values as
defined in:
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
Which some developers may like to respect.
Regards,
Ben Clewett.
From BClewett at perfparse.org Mon Nov 15 05:32:06 2004
From: BClewett at perfparse.org (Ben Clewett)
Date: Mon Nov 15 05:32:06 2004
Subject: [Nagiosplug-devel] check_load, inaccurate results.
In-Reply-To:
References:
Message-ID: <41988016.7010903@perfparse.org>
Dear plugin developers,
I have noticed that the check_load only reports integer performance
data. Eg:
OK - load average: 0.62, 0.68, 0.58 | load1=0;1;2;0 load5=0;2;3;0
load15=0;3;4;0
This plugin used to return correct values.
I note the new perfdata call in utils.c:
char *perfdata (const char *label,
long int val,
const char *uom,
int warnp,
long int warn,
int critp,
long int crit,
int minp,
long int minv,
int maxp,
long int maxv)
{
Performance data from a few plugins is required to respect floating
point numbers. Can I suggest this function is changed to accept real
numbers and not integers?
I also note that this function call cannot handle the range values as
defined in:
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
Which some developers may like to respect.
Regards,
Ben Clewett.
From ae at op5.se Mon Nov 15 06:25:08 2004
From: ae at op5.se (Andreas Ericsson)
Date: Mon Nov 15 06:25:08 2004
Subject: [Nagiosplug-devel] check_load, inaccurate results.
In-Reply-To: <41988016.7010903@perfparse.org>
References: <41988016.7010903@perfparse.org>
Message-ID: <4198BC14.40309@op5.se>
Ben Clewett wrote:
> Dear plugin developers,
>
You're wasting your breath. (Official) plugin development has been at a
standstill for a very long time. I suggest you take a stab at making
whatever changes are necessary yourself. If you spend 5 minutes a week
it will be faster than waiting for the plugin developers to take action.
> I have noticed that the check_load only reports integer performance
> data. Eg:
>
> OK - load average: 0.62, 0.68, 0.58 | load1=0;1;2;0 load5=0;2;3;0
> load15=0;3;4;0
>
> This plugin used to return correct values.
>
> I note the new perfdata call in utils.c:
>
> char *perfdata (const char *label,
> long int val,
> const char *uom,
> int warnp,
> long int warn,
> int critp,
> long int crit,
> int minp,
> long int minv,
> int maxp,
> long int maxv)
> {
>
>
> Performance data from a few plugins is required to respect floating
> point numbers. Can I suggest this function is changed to accept real
> numbers and not integers?
>
It's rather stupid to have a unified perfdata function, since plugins
will return highly different kinds of values (as you have just pointed
out). It is very impractical to convert integer values to floating point
ones, and what's being accomplished can usually be done with a simple
printf(3) statement anyway. Where it cannot, I see no way for the plugin
to correctly utilize the perfdata function either, so it's existence is
fairly useless.
> I also note that this function call cannot handle the range values as
> defined in:
>
> http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
>
> Which some developers may like to respect.
>
> Regards,
>
> Ben Clewett.
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From Ben at clewett.org.uk Mon Nov 15 06:57:02 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Mon Nov 15 06:57:02 2004
Subject: [Nagiosplug-devel] check_load, inaccurate results.
In-Reply-To: <4198BC14.40309@op5.se>
References: <41988016.7010903@perfparse.org> <4198BC14.40309@op5.se>
Message-ID: <4198C396.9050005@clewett.org.uk>
Andreas,
Thanks for your honest answer. I will see what can be done. For
instance replacing this plugin with the same plugin as published several
months ago. That version worked perfectly...
Ben
Andreas Ericsson wrote:
> Ben Clewett wrote:
>
>> Dear plugin developers,
>>
>
> You're wasting your breath. (Official) plugin development has been at a
> standstill for a very long time. I suggest you take a stab at making
> whatever changes are necessary yourself. If you spend 5 minutes a week
> it will be faster than waiting for the plugin developers to take action.
>
>> I have noticed that the check_load only reports integer performance
>> data. Eg:
>>
>> OK - load average: 0.62, 0.68, 0.58 | load1=0;1;2;0 load5=0;2;3;0
>> load15=0;3;4;0
>>
>> This plugin used to return correct values.
>>
>> I note the new perfdata call in utils.c:
>>
>> char *perfdata (const char *label,
>> long int val,
>> const char *uom,
>> int warnp,
>> long int warn,
>> int critp,
>> long int crit,
>> int minp,
>> long int minv,
>> int maxp,
>> long int maxv)
>> {
>>
>>
>> Performance data from a few plugins is required to respect floating
>> point numbers. Can I suggest this function is changed to accept real
>> numbers and not integers?
>>
>
> It's rather stupid to have a unified perfdata function, since plugins
> will return highly different kinds of values (as you have just pointed
> out). It is very impractical to convert integer values to floating point
> ones, and what's being accomplished can usually be done with a simple
> printf(3) statement anyway. Where it cannot, I see no way for the plugin
> to correctly utilize the perfdata function either, so it's existence is
> fairly useless.
>
>> I also note that this function call cannot handle the range values as
>> defined in:
>>
>> http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
>>
>>
>> Which some developers may like to respect.
>>
>> Regards,
>>
>> Ben Clewett.
>>
>
From payerle at physics.umd.edu Tue Nov 16 08:03:03 2004
From: payerle at physics.umd.edu (Thomas M. Payerle)
Date: Tue Nov 16 08:03:03 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #707 - 4 msgs
In-Reply-To: <20041116041005.0AE031D3D03@sc8-sf-uberspam1.sourceforge.net>
References: <20041116041005.0AE031D3D03@sc8-sf-uberspam1.sourceforge.net>
Message-ID:
> However, performance data from a few plugins is required to respect
> floating point numbers. Can I suggest this function is changed to
> accept real numbers and not integers?
A possible caveat: I believe rrdtool round robin databases only accept
integral values, at least I ran into that when playing with this on a
couple of my systems. Although I have not thoroughly confirmed this, and
was not running the latest and greatest version of rrdtool, and I suspect
it might not be a major change to rrdtool to fix (I believe it must store
floating point due to its interpolation algorithms, but the tools appear
only look at integral part of the arguments). I was meaning to contact
the rrdtool developer after looking into it more thoroughly, but have been
swamped of late; for my needs I just had plugin report as a percentage.
None of the above directly impacts the Nagios performance data question,
but as I suspect one of the most common uses of performance data is to
populate rrdtool databases, I thought I would alert you to the potential
issue.
Tom Payerle
Dept of Physics payerle at physics.umd.edu
University of Maryland (301) 405-6973
College Park, MD 20742-4111 Fax: (301) 314-9525
From ae at op5.se Tue Nov 16 09:38:03 2004
From: ae at op5.se (Andreas Ericsson)
Date: Tue Nov 16 09:38:03 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #707 -
4 msgs
In-Reply-To:
References: <20041116041005.0AE031D3D03@sc8-sf-uberspam1.sourceforge.net>
Message-ID: <419A3AED.3060108@op5.se>
Thomas M. Payerle wrote:
>>However, performance data from a few plugins is required to respect
>>floating point numbers. Can I suggest this function is changed to
>>accept real numbers and not integers?
>
> A possible caveat: I believe rrdtool round robin databases only accept
> integral values, at least I ran into that when playing with this on a
> couple of my systems. Although I have not thoroughly confirmed this, and
> was not running the latest and greatest version of rrdtool, and I suspect
> it might not be a major change to rrdtool to fix (I believe it must store
> floating point due to its interpolation algorithms, but the tools appear
> only look at integral part of the arguments).
It is trivial to convert floating point data to integer data, just as it
is trivial to store an 8 character string in a long long. I believe this
code can be left to the performance data parser in case rrdtool truly
lacks this functionality.
> I was meaning to contact
> the rrdtool developer after looking into it more thoroughly, but have been
> swamped of late; for my needs I just had plugin report as a percentage.
>
> None of the above directly impacts the Nagios performance data question,
> but as I suspect one of the most common uses of performance data is to
> populate rrdtool databases, I thought I would alert you to the potential
> issue.
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From bob at intelenet.net Tue Nov 16 21:27:09 2004
From: bob at intelenet.net (Bob Myers)
Date: Tue Nov 16 21:27:09 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3 msgs
In-Reply-To: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net>
Message-ID: <419AE0ED.3090103@intelenet.net>
> A possible caveat: I believe rrdtool round robin databases only accept
> integral values,
I don't believe that this is true, and the documentation belies this.
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html
What data can be put into an RRD ?
You name it, it will probably fit. You should be able to measure some
value at several points in time and provide this information to RRDTool.
If you can do this, RRDTool will be able to store it. The values need to
be numerical but don't have to be, as opposed to MRTG, integers.
From Ben at clewett.org.uk Wed Nov 17 01:56:01 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Wed Nov 17 01:56:01 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To: <419AE0ED.3090103@intelenet.net>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net> <419AE0ED.3090103@intelenet.net>
Message-ID: <419B1FC5.8050100@clewett.org.uk>
I also note that RRD is not the only storage mechanism used. Our
popular PerfParse project used a floating point storage inside a
relational database.
If I hack the check_load plugin to show figures to their correct
accuracy. In this case three decimal places. Can somebody tell me
where should I submit the patch?
Regards,
Ben.
Bob Myers wrote:
>> A possible caveat: I believe rrdtool round robin databases only accept
>> integral values,
>
>
> I don't believe that this is true, and the documentation belies this.
>
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html
>
>
> What data can be put into an RRD ?
>
> You name it, it will probably fit. You should be able to measure some
> value at several points in time and provide this information to RRDTool.
> If you can do this, RRDTool will be able to store it. The values need to
> be numerical but don't have to be, as opposed to MRTG, integers.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
From ae at op5.se Wed Nov 17 02:04:04 2004
From: ae at op5.se (Andreas Ericsson)
Date: Wed Nov 17 02:04:04 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To: <419B1FC5.8050100@clewett.org.uk>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net> <419AE0ED.3090103@intelenet.net> <419B1FC5.8050100@clewett.org.uk>
Message-ID: <419B2204.1050106@op5.se>
Ben Clewett wrote:
>
> I also note that RRD is not the only storage mechanism used. Our
> popular PerfParse project used a floating point storage inside a
> relational database.
>
> If I hack the check_load plugin to show figures to their correct
> accuracy. In this case three decimal places. Can somebody tell me
> where should I submit the patch?
>
That would be to this list, where it will be promptly ignored by plugin
developers who haven't made a public appearance since Mohammed Ali wore
diapers.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From Ton.Voon at egg.com Wed Nov 17 03:18:01 2004
From: Ton.Voon at egg.com (Voon, Ton)
Date: Wed Nov 17 03:18:01 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
Message-ID:
Ben,
Can you please submit your patch (against CVS HEAD) to SF in the patch
section, and then send an email to this list.
We are working on a release soon.
Ton
-----Original Message-----
From: Ben Clewett [mailto:Ben at clewett.org.uk]
Sent: 17 November 2004 09:54
To: Bob Myers
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3
msgs
I also note that RRD is not the only storage mechanism used. Our
popular PerfParse project used a floating point storage inside a
relational database.
If I hack the check_load plugin to show figures to their correct
accuracy. In this case three decimal places. Can somebody tell me
where should I submit the patch?
Regards,
Ben.
Bob Myers wrote:
>> A possible caveat: I believe rrdtool round robin databases only
>> accept integral values,
>
>
> I don't believe that this is true, and the documentation belies this.
>
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutoria
> l.html
>
>
> What data can be put into an RRD ?
>
> You name it, it will probably fit. You should be able to measure some
> value at several points in time and provide this information to RRDTool.
> If you can do this, RRDTool will be able to store it. The values need to
> be numerical but don't have to be, as opposed to MRTG, integers.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
object and relational technologies, making it a perfect match for Java,
C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
From Ben at clewett.org.uk Wed Nov 17 03:45:09 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Wed Nov 17 03:45:09 2004
Subject: [Nagiosplug-devel] New version of check_load
In-Reply-To:
References:
Message-ID: <419B3952.1080801@clewett.org.uk>
Sorry, third attempt at posting. Sorry if some members get three copies
of this email.
Enclosed is a patch.
check_load now correctly showing:
OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000
load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000
This does not adjust the release number in the file.
It would be of interest to my own users (perfparse-users at lists.sf.net)
if you could let me know when this will be available in an official release?
Thanks,
Regards, Ben.
Voon, Ton wrote:
> Ben,
>
> Can you please submit your patch (against CVS HEAD) to SF in the patch
> section, and then send an email to this list.
>
> We are working on a release soon.
>
> Ton
>
> -----Original Message-----
> From: Ben Clewett [mailto:Ben at clewett.org.uk]
> Sent: 17 November 2004 09:54
> To: Bob Myers
> Cc: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3
> msgs
>
>
>
> I also note that RRD is not the only storage mechanism used. Our
> popular PerfParse project used a floating point storage inside a
> relational database.
>
> If I hack the check_load plugin to show figures to their correct
> accuracy. In this case three decimal places. Can somebody tell me
> where should I submit the patch?
>
> Regards,
>
> Ben.
>
> Bob Myers wrote:
>
>
>>>A possible caveat: I believe rrdtool round robin databases only
>>>accept integral values,
>>
>>
>>I don't believe that this is true, and the documentation belies this.
>>
>>http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutoria
>>l.html
>>
>>
>>What data can be put into an RRD ?
>>
>>You name it, it will probably fit. You should be able to measure some
>>value at several points in time and provide this information to RRDTool.
>>If you can do this, RRDTool will be able to store it. The values need to
>>be numerical but don't have to be, as opposed to MRTG, integers.
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: InterSystems CACHE
>>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>robust object and relational technologies, making it a perfect match
>>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>_______________________________________________
>>Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>::: Please include plugins version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
> object and relational technologies, making it a perfect match for Java,
> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> -----------------------------------------
> This private and confidential e-mail has been sent to you by Egg. The Egg
> group of companies includes Egg Banking plc registered no. 2999842), Egg
> Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
> (registered no. 3403963) which is authorised and regulated by the Financial
> Services Authority. Egg Investments Ltd. is entered in the FSA register
> under number 190518. Registered in England and Wales. Registered
> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
> are not the intended recipient of this e-mail and have received it in
> error, please notify the sender by replying with 'received in error' as the
> subject and then delete it from your mailbox.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_load.diff.gz
Type: application/x-gzip-compressed
Size: 680 bytes
Desc: not available
URL:
From karl at debisschop.net Wed Nov 17 04:06:01 2004
From: karl at debisschop.net (Karl DeBisschop)
Date: Wed Nov 17 04:06:01 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To: <419B2204.1050106@op5.se>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net> <419AE0ED.3090103@intelenet.net> <419B1FC5.8050100@clewett.org.uk> <419B2204.1050106@op5.se>
Message-ID: <419B3E60.5020309@debisschop.net>
Andreas Ericsson wrote:
> Ben Clewett wrote:
>
>>
>> I also note that RRD is not the only storage mechanism used. Our
>> popular PerfParse project used a floating point storage inside a
>> relational database.
>>
>> If I hack the check_load plugin to show figures to their correct
>> accuracy. In this case three decimal places. Can somebody tell me
>> where should I submit the patch?
>>
>
> That would be to this list, where it will be promptly ignored by plugin
> developers who haven't made a public appearance since Mohammed Ali wore
> diapers.
To be fair, Andreas, I have been the biggest no-show on the plugin
developer list. I have a family and ever increasing work demands, and as
I think many folks would would do, I have let my optimism and good
intentions get in the way of stepping out of the leadership role. But as
the de facto leader of the group, that slowed everyone down to my
(glacial) pace.
As of last night, I have given up that role - I will try to hang around
and comment from time to time, but I will no longer be i a role where my
inactivity slows things down.
At the moment, we are bringing on at least one new developer, and Ton
Voon is leading the effort to go through the accumulated patches and get
a release out.
Since the failings of the past year our two have been largely mine, can
you give Ton a fair shake?
I also note that Stanley Hopcraft is still active on the mailing lists
also - there is plenty of expertise in the remaining developer staff,
and I expect good things.
--
Karl
From ae at op5.se Wed Nov 17 04:37:01 2004
From: ae at op5.se (Andreas Ericsson)
Date: Wed Nov 17 04:37:01 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To: <419B3E60.5020309@debisschop.net>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net> <419AE0ED.3090103@intelenet.net> <419B1FC5.8050100@clewett.org.uk> <419B2204.1050106@op5.se> <419B3E60.5020309@debisschop.net>
Message-ID: <419B45B8.6090401@op5.se>
Karl DeBisschop wrote:
> Andreas Ericsson wrote:
>
>> Ben Clewett wrote:
>>
>>>
>>> I also note that RRD is not the only storage mechanism used. Our
>>> popular PerfParse project used a floating point storage inside a
>>> relational database.
>>>
>>> If I hack the check_load plugin to show figures to their correct
>>> accuracy. In this case three decimal places. Can somebody tell me
>>> where should I submit the patch?
>>>
>>
>> That would be to this list, where it will be promptly ignored by
>> plugin developers who haven't made a public appearance since Mohammed
>> Ali wore diapers.
>
>
> To be fair, Andreas, I have been the biggest no-show on the plugin
> developer list. I have a family and ever increasing work demands, and as
> I think many folks would would do, I have let my optimism and good
> intentions get in the way of stepping out of the leadership role. But as
> the de facto leader of the group, that slowed everyone down to my
> (glacial) pace.
>
> As of last night, I have given up that role - I will try to hang around
> and comment from time to time, but I will no longer be i a role where my
> inactivity slows things down.
>
Ok, so who's the new leader then? I'd like to know where to volunteer.
> At the moment, we are bringing on at least one new developer, and Ton
> Voon is leading the effort to go through the accumulated patches and get
> a release out.
>
> Since the failings of the past year our two have been largely mine, can
> you give Ton a fair shake?
>
Happily so. I would also like to once again mention that I'm very much
available to help with plugin development. It is, in fact, a part of my
job description but has been very difficult to do in a
community-benefitting way due to reasons already mentioned.
> I also note that Stanley Hopcraft is still active on the mailing lists
> also - there is plenty of expertise in the remaining developer staff,
> and I expect good things.
>
Stanley seems more involved in the development of the fundamentally
flawed embedded perl interpreter and has posted plugins to the list
(perhaps I'm confusing the Stanley's here), which made me think he had
dropped out of official plugin development.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From Ben at clewett.org.uk Wed Nov 17 05:02:01 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Wed Nov 17 05:02:01 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To: <419B3E60.5020309@debisschop.net>
References: <20041117041920.084F91D24B6@sc8-sf-uberspam1.sourceforge.net> <419AE0ED.3090103@intelenet.net> <419B1FC5.8050100@clewett.org.uk> <419B2204.1050106@op5.se> <419B3E60.5020309@debisschop.net>
Message-ID: <419B4B84.9050709@clewett.org.uk>
Karl DeBisschop wrote:
> As of last night, I have given up that role - I will try to hang around
> and comment from time to time, but I will no longer be i a role where my
> inactivity slows things down.
Thanks for the work so far. The plugin project is a major bit of work
from which we all rely on completely. I have a job and a family my
self, as well as trying to run the PerfParse project. I know full well
how hard that can be!
> At the moment, we are bringing on at least one new developer, and Ton
> Voon is leading the effort to go through the accumulated patches and get
> a release out.
>
> Since the failings of the past year our two have been largely mine, can
> you give Ton a fair shake?
I look forward to working with Ton in the future,
Good luck with future projects,
Ben Clewett.
From Ben at clewett.org.uk Wed Nov 17 07:43:03 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Wed Nov 17 07:43:03 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To:
References:
Message-ID: <419B3728.1070408@clewett.org.uk>
Sorry, second attempt at posting, I have too many email addresses!
Enclosed is a patch.
check_load now correctly showing:
OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000
load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000
This does not adjust the release number in the file.
It would be of interest to my own users (perfparse-users at lists.sf.net)
if you could let me know when this will be available in an official release?
Thanks,
Regards, Ben.
Voon, Ton wrote:
> Ben,
>
> Can you please submit your patch (against CVS HEAD) to SF in the patch
> section, and then send an email to this list.
>
> We are working on a release soon.
>
> Ton
>
> -----Original Message-----
> From: Ben Clewett [mailto:Ben at clewett.org.uk]
> Sent: 17 November 2004 09:54
> To: Bob Myers
> Cc: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3
> msgs
>
>
>
> I also note that RRD is not the only storage mechanism used. Our
> popular PerfParse project used a floating point storage inside a
> relational database.
>
> If I hack the check_load plugin to show figures to their correct
> accuracy. In this case three decimal places. Can somebody tell me
> where should I submit the patch?
>
> Regards,
>
> Ben.
>
> Bob Myers wrote:
>
>
>>>A possible caveat: I believe rrdtool round robin databases only
>>>accept integral values,
>>
>>
>>I don't believe that this is true, and the documentation belies this.
>>
>>http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutoria
>>l.html
>>
>>
>>What data can be put into an RRD ?
>>
>>You name it, it will probably fit. You should be able to measure some
>>value at several points in time and provide this information to RRDTool.
>>If you can do this, RRDTool will be able to store it. The values need to
>>be numerical but don't have to be, as opposed to MRTG, integers.
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: InterSystems CACHE
>>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>robust object and relational technologies, making it a perfect match
>>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>_______________________________________________
>>Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>::: Please include plugins version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
> object and relational technologies, making it a perfect match for Java,
> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> -----------------------------------------
> This private and confidential e-mail has been sent to you by Egg. The Egg
> group of companies includes Egg Banking plc registered no. 2999842), Egg
> Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
> (registered no. 3403963) which is authorised and regulated by the Financial
> Services Authority. Egg Investments Ltd. is entered in the FSA register
> under number 190518. Registered in England and Wales. Registered
> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
> are not the intended recipient of this e-mail and have received it in
> error, please notify the sender by replying with 'received in error' as the
> subject and then delete it from your mailbox.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_load.diff.gz
Type: application/x-gzip-compressed
Size: 680 bytes
Desc: not available
URL:
From Ben.Clewett at roadrunner.uk.com Wed Nov 17 07:43:06 2004
From: Ben.Clewett at roadrunner.uk.com (Ben Clewett)
Date: Wed Nov 17 07:43:06 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To:
References:
Message-ID: <419B3678.2030904@roadrunner.uk.com>
Enclosed is a patch.
check_load now correctly showing:
OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000
load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000
This does not adjust the release number.
Regards, Ben.
Voon, Ton wrote:
> Ben,
>
> Can you please submit your patch (against CVS HEAD) to SF in the patch
> section, and then send an email to this list.
>
> We are working on a release soon.
>
> Ton
>
> -----Original Message-----
> From: Ben Clewett [mailto:Ben at clewett.org.uk]
> Sent: 17 November 2004 09:54
> To: Bob Myers
> Cc: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3
> msgs
>
>
>
> I also note that RRD is not the only storage mechanism used. Our
> popular PerfParse project used a floating point storage inside a
> relational database.
>
> If I hack the check_load plugin to show figures to their correct
> accuracy. In this case three decimal places. Can somebody tell me
> where should I submit the patch?
>
> Regards,
>
> Ben.
>
> Bob Myers wrote:
>
>
>>>A possible caveat: I believe rrdtool round robin databases only
>>>accept integral values,
>>
>>
>>I don't believe that this is true, and the documentation belies this.
>>
>>http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutoria
>>l.html
>>
>>
>>What data can be put into an RRD ?
>>
>>You name it, it will probably fit. You should be able to measure some
>>value at several points in time and provide this information to RRDTool.
>>If you can do this, RRDTool will be able to store it. The values need to
>>be numerical but don't have to be, as opposed to MRTG, integers.
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: InterSystems CACHE
>>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>robust object and relational technologies, making it a perfect match
>>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>_______________________________________________
>>Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>::: Please include plugins version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
> object and relational technologies, making it a perfect match for Java,
> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> -----------------------------------------
> This private and confidential e-mail has been sent to you by Egg. The Egg
> group of companies includes Egg Banking plc registered no. 2999842), Egg
> Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
> (registered no. 3403963) which is authorised and regulated by the Financial
> Services Authority. Egg Investments Ltd. is entered in the FSA register
> under number 190518. Registered in England and Wales. Registered
> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
> are not the intended recipient of this e-mail and have received it in
> error, please notify the sender by replying with 'received in error' as the
> subject and then delete it from your mailbox.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_load.diff.gz
Type: application/x-gzip-compressed
Size: 680 bytes
Desc: not available
URL:
From trevorwarren at gmail.com Wed Nov 17 08:01:01 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 17 08:01:01 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation successful + merge into tree
Message-ID: <559e3cb6041117075912077f06@mail.gmail.com>
Hey guys/gals,
Thanks for all the help and especially to eric who wrote the patch
that fixed the VA_COPY issue on AIX 5.2. I suggest someone merges the
same into the main tree.
Take care all and thanks again.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From Ton.Voon at egg.com Wed Nov 17 08:56:02 2004
From: Ton.Voon at egg.com (Voon, Ton)
Date: Wed Nov 17 08:56:02 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation successful + merge int
o tree
Message-ID:
Trevor,
I've updated CVS HEAD so that it uses the newer coreutils library files and
the latest samba snprintf.c. Both these changes had variations on Eric's
patch, so I do not plan on incorporating Eric's patch into the main tree.
Can you confirm if CVS HEAD if okay? Snapshot available at
http://nagiosplug.sourceforge.net/snapshot/
Ton
-----Original Message-----
From: Trevor Warren [mailto:trevorwarren at gmail.com]
Sent: 17 November 2004 16:00
To: nagiosplug-devel at lists.sourceforge.net
Cc: Eric Lauriault
Subject: [Nagiosplug-devel] aix 5.2 compilation successful + merge into tree
Hey guys/gals,
Thanks for all the help and especially to eric who wrote the patch that
fixed the VA_COPY issue on AIX 5.2. I suggest someone merges the same into
the main tree.
Take care all and thanks again.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
object and relational technologies, making it a perfect match for Java,
C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
From trevorwarren at gmail.com Wed Nov 17 09:27:02 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Wed Nov 17 09:27:02 2004
Subject: [Nagiosplug-devel] aix 5.2 compilation successful + merge int o tree
In-Reply-To:
References:
Message-ID: <559e3cb604111709255730259b@mail.gmail.com>
Hiyee dear,
As of now, i aint having anything else than http connectivity to
the internet. Am at a client DR site 200Kms from home. Will check this
out and revert back when i get home in a months time. Can't CVS update
from here or run any checks here VT.
Take care and lemme know if i can do anything else.
Trevor
On Wed, 17 Nov 2004 16:51:11 -0000, Voon, Ton wrote:
> Trevor,
>
> I've updated CVS HEAD so that it uses the newer coreutils library files and
> the latest samba snprintf.c. Both these changes had variations on Eric's
> patch, so I do not plan on incorporating Eric's patch into the main tree.
> Can you confirm if CVS HEAD if okay? Snapshot available at
> http://nagiosplug.sourceforge.net/snapshot/
>
> Ton
>
> -----Original Message-----
> From: Trevor Warren [mailto:trevorwarren at gmail.com]
> Sent: 17 November 2004 16:00
> To: nagiosplug-devel at lists.sourceforge.net
> Cc: Eric Lauriault
> Subject: [Nagiosplug-devel] aix 5.2 compilation successful + merge into tree
>
> Hey guys/gals,
>
> Thanks for all the help and especially to eric who wrote the patch that
> fixed the VA_COPY issue on AIX 5.2. I suggest someone merges the same into
> the main tree.
>
> Take care all and thanks again.
>
> Trevor
>
> --
> ___________________________________
> ( >- / Scaling FreeSoftware & OpenSource \ -< )
> /~\ / In the Enterprise \ /~\
> | \) \ | www.fsf.org | www.opensource.org | / (/ |
> |_|_ \____________________________________/ _|_|
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
> object and relational technologies, making it a perfect match for Java,
> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> -----------------------------------------
> This private and confidential e-mail has been sent to you by Egg. The Egg
> group of companies includes Egg Banking plc registered no. 2999842), Egg
> Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
> (registered no. 3403963) which is authorised and regulated by the Financial
> Services Authority. Egg Investments Ltd. is entered in the FSA register
> under number 190518. Registered in England and Wales. Registered
> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
> are not the intended recipient of this e-mail and have received it in
> error, please notify the sender by replying with 'received in error' as the
> subject and then delete it from your mailbox.
>
>
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From noreply at sourceforge.net Wed Nov 17 12:24:01 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 12:24:01 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1068247 ] Added port for check_dns
Message-ID:
Patches item #1068247, was opened at 2004-11-17 13:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1068247&group_id=29880
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Rodriguez (bigtangringo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Added port for check_dns
Initial Comment:
I've added support for a -p --port option on check_dns
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1068247&group_id=29880
From noreply at sourceforge.net Wed Nov 17 15:24:14 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 15:24:14 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-949521 ] --no-body and --max-age options for check_http
Message-ID:
Bugs item #949521, was opened at 2004-05-06 22:39
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=949521&group_id=29880
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jamie Zawinski (jwz)
Assigned to: Ton Voon (tonvoon)
Summary: --no-body and --max-age options for check_http
Initial Comment:
I recently upgraded to Nagios 1.2.0 from an old
Netsaint, and I needed to add a couple of features to
the check_http plugin.
I sent these patches in a couple of years ago, but they
haven't made it into the distribution, so here they are
again... (I hope you include them this time, so that I
don't have to rewrite this code again the next time I
upgrade...)
Anyway, I added two new options to check_http:
-N, --no-body
Don't wait for document body: stop reading
after headers.
I needed this so that I can check for the existence of
Icecast MP3 streams: such streams look like audio/mpeg
files, except that they are of infinite length.
-M, --max-age=SECONDS
Warn if the document is more than SECONDS old.
I needed this so that I can check whether my webcam is
still working: if the date on the JPEG file has stopped
updating, the webcam is down.
Here's how I use these:
define command{
command_name check_icecast
command_line $USER1$/check_http2 -H $HOSTADDRESS$ -p 8000 --no-body -u $ARG1$
}
define command{
command_name check_http_age
command_line $USER1$/check_http -H $HOSTALIAS$ -I $HOSTADDRESS$ --no-body -u $ARG1$ --max-age $ARG2$
}
The attached patch is against check_http.c 1.24.2.4
from nagios-plugins-1.3.1.
Thanks!
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-17 23:23
Message:
Logged In: YES
user_id=664364
Jamie,
Thanks for this patch again. Applied to check_http.c v 1.61.
Ton
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-05-07 06:31
Message:
Logged In: YES
user_id=664364
Jamie,
These sound like decent patches. However, we are not making any more
enhancements to r1.3.1. Can you provide a patch against CVS? Just one
more update of the code then :)
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=949521&group_id=29880
From noreply at sourceforge.net Wed Nov 17 15:37:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 15:37:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-949070 ] check_tcp enhancement: ignore output
Message-ID:
Patches item #949070, was opened at 2004-05-06 11:58
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=949070&group_id=29880
Category: Enhancement
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jan-Piet Mens (jpm)
Assigned to: Ton Voon (tonvoon)
Summary: check_tcp enhancement: ignore output
Initial Comment:
This patch add an option to ignore the output of
check_tcp. I use this when checking a mainframe for
3270 connections; the bytes that are output look funny.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-17 23:35
Message:
Logged In: YES
user_id=664364
Jan-Piet,
Thanks for the patch. Applied to check_tcp v1.41
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=949070&group_id=29880
From noreply at sourceforge.net Wed Nov 17 15:44:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 15:44:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1068247 ] Added port for check_dns
Message-ID:
Patches item #1068247, was opened at 2004-11-17 20:23
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1068247&group_id=29880
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Rodriguez (bigtangringo)
>Assigned to: Ton Voon (tonvoon)
Summary: Added port for check_dns
Initial Comment:
I've added support for a -p --port option on check_dns
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-17 23:43
Message:
Logged In: YES
user_id=664364
Jeff,
Thanks for the patch, but I'm a bit concerned that some implementations
of nslookup may not cater for the -port option.
The plan is for check_dns to be rewritten with the resolver routines, but I
tried and it was beyond me! If you can do this, then that would be a
great addition to the plugins.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1068247&group_id=29880
From tonvoon at mac.com Wed Nov 17 16:34:03 2004
From: tonvoon at mac.com (Ton Voon)
Date: Wed Nov 17 16:34:03 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 - 3 msgs
In-Reply-To: <419B3678.2030904@roadrunner.uk.com>
References: <419B3678.2030904@roadrunner.uk.com>
Message-ID:
Ben,
Just looking into applying this, but it seems that CVS HEAD of
check_load.c (v1.15) already has floating point output. It calls
fperfdata to get floating point data. Are you sure you are using the
latest code?
Ton
On 17 Nov 2004, at 11:31, Ben Clewett wrote:
> Enclosed is a patch.
>
> check_load now correctly showing:
>
> OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000
> load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000
>
> This does not adjust the release number.
>
> Regards, Ben.
>
>
> Voon, Ton wrote:
>
>> Ben,
>> Can you please submit your patch (against CVS HEAD) to SF in the patch
>> section, and then send an email to this list.
>> We are working on a release soon.
>> Ton
>> -----Original Message-----
>> From: Ben Clewett [mailto:Ben at clewett.org.uk] Sent: 17 November 2004
>> 09:54
>> To: Bob Myers
>> Cc: nagiosplug-devel at lists.sourceforge.net
>> Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1
>> #708 - 3
>> msgs
>> I also note that RRD is not the only storage mechanism used. Our
>> popular PerfParse project used a floating point storage inside a
>> relational database.
>> If I hack the check_load plugin to show figures to their correct
>> accuracy. In this case three decimal places. Can somebody tell me
>> where should I submit the patch?
>> Regards,
>> Ben.
>> Bob Myers wrote:
>>>> A possible caveat: I believe rrdtool round robin databases only
>>>> accept integral values,
>>>
>>>
>>> I don't believe that this is true, and the documentation belies this.
>>>
>>> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/
>>> rrdtutoria
>>> l.html
>>>
>>>
>>> What data can be put into an RRD ?
>>>
>>> You name it, it will probably fit. You should be able to measure some
>>> value at several points in time and provide this information to
>>> RRDTool. If you can do this, RRDTool will be able to store it. The
>>> values need to be numerical but don't have to be, as opposed to
>>> MRTG, integers.
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.Net email is sponsored by: InterSystems CACHE
>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>> robust object and relational technologies, making it a perfect match
>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>> _______________________________________________
>>> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>> ::: Please include plugins version (-v) and OS when reporting any
>>> issue. ::: Messages without supporting info will risk being sent to
>>> /dev/null
>>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: InterSystems CACHE
>> FREE OODBMS DOWNLOAD - A multidimensional database that combines
>> robust
>> object and relational technologies, making it a perfect match for
>> Java,
>> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>> _______________________________________________
>> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>> ::: Please include plugins version (-v) and OS when reporting any
>> issue. ::: Messages without supporting info will risk being sent to
>> /dev/null
>> -----------------------------------------
>> This private and confidential e-mail has been sent to you by Egg.
>> The Egg
>> group of companies includes Egg Banking plc registered no. 2999842),
>> Egg
>> Financial Products Ltd (registered no. 3319027) and Egg Investments
>> Ltd
>> (registered no. 3403963) which is authorised and regulated by the
>> Financial
>> Services Authority. Egg Investments Ltd. is entered in the FSA
>> register
>> under number 190518. Registered in England and Wales. Registered
>> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If
>> you
>> are not the intended recipient of this e-mail and have received it in
>> error, please notify the sender by replying with 'received in error'
>> as the
>> subject and then delete it from your mailbox.
>
>
From noreply at sourceforge.net Wed Nov 17 21:40:03 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 21:40:03 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-934025 ] check_smtp bug fix
Message-ID:
Bugs item #934025, was opened at 2004-04-12 22:46
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=934025&group_id=29880
Category: None
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthew Kent (mattkent)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smtp bug fix
Initial Comment:
Small bug fix:
# ./check_smtp -H 192.168.40.9 -w 1 -c 4
No route to host
SMTP WARNING - 3.018 sec. response
time|time=3018187us;1;4;0
while it should return CRITICAL regardless.
I also updated the output to use fperfdata. Having most
of the plugins outputting the same time format
(seconds) is making it easier to write generic perfdata
handling perl.
Thanks!
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-17 21:39
Message:
Logged In: YES
user_id=983566
Fixed in HEAD. Left perfdata output change out for now.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=934025&group_id=29880
From noreply at sourceforge.net Wed Nov 17 21:46:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Nov 17 21:46:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1038454 ] Compile probleme on debian
Message-ID:
Bugs item #1038454, was opened at 2004-10-01 05:43
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1038454&group_id=29880
Category: None
Group: snapshot tarball
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: tango73 (tango73)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compile probleme on debian
Initial Comment:
I tried many time to compile the daily tarball on my
debian but i always have this error on the make.
.
.
.
.
chmod +x check_file_age
make[2]: Leaving directory `/home/dml/public/nagios-
plugins-HEAD-200410010447/plugins-scripts'
Making all in po
make[2]: Entering directory `/home/dml/public/nagios-
plugins-HEAD-200410010447/po'
/usr/bin/msgmerge --update fr.po nagios-plugins.pot
/usr/bin/msgmerge: erreur lors de l'ouverture de ?
fr.po ? en lecture: Aucun fichier ou r?pertoire de ce type
make[2]: *** [fr.po] Erreur 1
make[2]: Leaving directory `/home/dml/public/nagios-
plugins-HEAD-200410010447/po'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/dml/public/nagios-
plugins-HEAD-200410010447'
make: *** [all] Erreur 2
please help me,
thanks
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-17 21:45
Message:
Logged In: YES
user_id=983566
Please try the mailing lists.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1038454&group_id=29880
From Ben at clewett.org.uk Thu Nov 18 00:58:08 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Thu Nov 18 00:58:08 2004
Subject: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1 #708 -
3 msgs
In-Reply-To:
References: <419B3678.2030904@roadrunner.uk.com>
Message-ID: <419C63DE.9010502@clewett.org.uk>
Ton,
From your description it looks like I have accidentally been using old
code. By old this would be a maximum of a month old. If the check_load
has already been fixed then this is excellent.
This proves to some of us that there are active developers on this list :)
I'll take a nightly snapshot and have a look.
Ben
Ton Voon wrote:
> Ben,
>
> Just looking into applying this, but it seems that CVS HEAD of
> check_load.c (v1.15) already has floating point output. It calls
> fperfdata to get floating point data. Are you sure you are using the
> latest code?
>
> Ton
>
> On 17 Nov 2004, at 11:31, Ben Clewett wrote:
>
>> Enclosed is a patch.
>>
>> check_load now correctly showing:
>>
>> OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000
>> load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000
>>
>> This does not adjust the release number.
>>
>> Regards, Ben.
>>
>>
>> Voon, Ton wrote:
>>
>>> Ben,
>>> Can you please submit your patch (against CVS HEAD) to SF in the patch
>>> section, and then send an email to this list.
>>> We are working on a release soon.
>>> Ton
>>> -----Original Message-----
>>> From: Ben Clewett [mailto:Ben at clewett.org.uk] Sent: 17 November 2004
>>> 09:54
>>> To: Bob Myers
>>> Cc: nagiosplug-devel at lists.sourceforge.net
>>> Subject: Re: [Nagiosplug-devel] Re: Nagiosplug-devel digest, Vol 1
>>> #708 - 3
>>> msgs
>>> I also note that RRD is not the only storage mechanism used. Our
>>> popular PerfParse project used a floating point storage inside a
>>> relational database.
>>> If I hack the check_load plugin to show figures to their correct
>>> accuracy. In this case three decimal places. Can somebody tell me
>>> where should I submit the patch?
>>> Regards,
>>> Ben.
>>> Bob Myers wrote:
>>>
>>>>> A possible caveat: I believe rrdtool round robin databases only
>>>>> accept integral values,
>>>>
>>>>
>>>>
>>>> I don't believe that this is true, and the documentation belies this.
>>>>
>>>> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/ rrdtutoria
>>>> l.html
>>>>
>>>>
>>>> What data can be put into an RRD ?
>>>>
>>>> You name it, it will probably fit. You should be able to measure some
>>>> value at several points in time and provide this information to
>>>> RRDTool. If you can do this, RRDTool will be able to store it. The
>>>> values need to be numerical but don't have to be, as opposed to
>>>> MRTG, integers.
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.Net email is sponsored by: InterSystems CACHE
>>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>>> robust object and relational technologies, making it a perfect
>>>> match for Java, C++,COM, XML, ODBC and JDBC.
>>>> www.intersystems.com/match8
>>>> _______________________________________________
>>>> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>>> ::: Please include plugins version (-v) and OS when reporting any
>>>> issue. ::: Messages without supporting info will risk being sent to
>>>> /dev/null
>>>>
>>> -------------------------------------------------------
>>> This SF.Net email is sponsored by: InterSystems CACHE
>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines robust
>>> object and relational technologies, making it a perfect match for Java,
>>> C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>> _______________________________________________
>>> Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>> ::: Please include plugins version (-v) and OS when reporting any
>>> issue. ::: Messages without supporting info will risk being sent to
>>> /dev/null
>>> -----------------------------------------
>>> This private and confidential e-mail has been sent to you by Egg.
>>> The Egg
>>> group of companies includes Egg Banking plc registered no. 2999842),
>>> Egg
>>> Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
>>> (registered no. 3403963) which is authorised and regulated by the
>>> Financial
>>> Services Authority. Egg Investments Ltd. is entered in the FSA register
>>> under number 190518. Registered in England and Wales. Registered
>>> offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA.
>>> If you
>>> are not the intended recipient of this e-mail and have received it in
>>> error, please notify the sender by replying with 'received in error'
>>> as the
>>> subject and then delete it from your mailbox.
>>
>>
>>
>
>
From tonvoon at mac.com Thu Nov 18 06:11:04 2004
From: tonvoon at mac.com (Ton Voon)
Date: Thu Nov 18 06:11:04 2004
Subject: [Nagiosplug-devel] Announcement regarding nagiosplug 1.4 release
Message-ID: <9F13DF6C-396B-11D9-A216-000A95D47298@mac.com>
Hi!
This is just a quick email to say that there will be a push by the
Nagios Plugins team to get the next release finalised - I will be
taking on this task. Karl DeBisshop has stood down from Project
Administrator because he was unable to commit the time required. His
contributions will be sorely missed as he has been with this project
from the very beginning, but he intends to keep an eye what is going
on.
As the rest of the team have also not been able to spend much time on
the project, we are pleased to announce that we have taken on two new
developers. Matthew Kent and Harper Mann have agreed to join the team
and will be taking care of all the outstanding patches and bug reports
in the Sourceforge tracker system. Expect to hear a lot more from them
soon.
We are keen on getting the latest version out because there are some
major features that 1.4 has over the current 1.3.1. These include:
- IPv6 support
- Internationalisation support, for translation of plugin output
- check_disk now using the GNU coreutils library
- More performance data, to our new standard format
- Support for many more OSes, including AIX, Tru64 and MacOSX
We have set out a basic timetable for the release schedule:
Thursday 3/12/2004 - Next alpha release: 1.4a2
Thursday 16/12/2004 - Another alpha release: 1.4a3
End December - Beta release: 1.4b1
End January - Final 1.4
How can you help? As always, please use the latest code available (at
http://nagiosplug.sourceforge.net/snapshot) and let us know of any bugs
or if you have patches (but we are not accepting any major enhancements
for the current release). This is best done through Sourceforge's
tracker system (at http://sourceforge.net/projects/nagiosplug) because
otherwise it may get lost in the mailing lists. Also, performance data
has not been fully implemented on all plugins - patches will be
gratefully received if they conform to the guidelines
(http://nagiosplug.sourceforge.net/developer-guidelines.html). Finally,
we are looking for volunteers to do some of the translations - at the
moment, we only have partial translations in French and German. Let me
know if you want to help.
While this is the plan, please remember that this is an open source
project. As such, everyone involved is making a judgement call on
spending time on this project instead of time with their friends,
families or cars. We'll aim to get as much done as possible, but please
understand if the schedule slips or the quality is compromised.
I look forward to announcing the new releases soon.
Ton
From David.Robinson at albertsons.com Thu Nov 18 13:29:04 2004
From: David.Robinson at albertsons.com (David Robinson)
Date: Thu Nov 18 13:29:04 2004
Subject: [Nagiosplug-devel] Java Plugins
Message-ID: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com>
I have written Nagios Perl plugins that invoke the weblogic.Admin java class
to monitor runtime information of my WebLogic Servers. The weblogic.Admin
class executes JMX requests to a given WebLogic Server process. It looks
like:
Nagios Process --> Perl Process --> Java Process --> JMX call across the
network --> Remote WebLogic Server Process
These plugins do not seem to perform very well. Does anyone have any
suggestions on improving the performance of plugins for monitoring WebLogic
Server?
I also tried writing a plugin directly in Java, but I'm not sure if this is
supported. Nagios did not receive any output from my Java plugins even
though I was exiting with the proper error codes. Has anyone created
plugins in Java?
Thanks for your assistance,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From josv at osp.nl Thu Nov 18 13:39:04 2004
From: josv at osp.nl (Jos Visser)
Date: Thu Nov 18 13:39:04 2004
Subject: [Nagiosplug-devel] Java Plugins
In-Reply-To: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com>
References: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com>
Message-ID: <20041118213812.GV642@Jos-Vissers-Computer.local>
Plugins in Java are possible, and so is calling Java from Perl. The
performance will probably suck because it takes a long time to
initialize the entire Java runtime environment (JVM, libraries)
It would probably be better to:
- Run the check as a daemon and:
- control that daemon from, or
- use the whats-its-name protocol to communicate status directly to
Nagios
If you are really brave you could extend Nagios with native Java plug-in
support. This would entail linking libjvm.sl into Nagios and hacking
some code to call Java methods directly as check_command's... This would
also mean that you don't need to build up the JVM every time...
++Jos.es
On Thu, Nov 18, 2004 at 02:28:16PM -0700 it came to pass that David Robinson wrote:
> I have written Nagios Perl plugins that invoke the weblogic.Admin java class
> to monitor runtime information of my WebLogic Servers. The weblogic.Admin
> class executes JMX requests to a given WebLogic Server process. It looks
> like:
>
>
>
>
>
> Nagios Process --> Perl Process --> Java Process --> JMX call across the
> network --> Remote WebLogic Server Process
>
>
>
>
>
> These plugins do not seem to perform very well. Does anyone have any
> suggestions on improving the performance of plugins for monitoring WebLogic
> Server?
>
>
>
> I also tried writing a plugin directly in Java, but I'm not sure if this is
> supported. Nagios did not receive any output from my Java plugins even
> though I was exiting with the proper error codes. Has anyone created
> plugins in Java?
>
>
>
> Thanks for your assistance,
>
> Dave
>
--
What's worth reacting to, is worth overreacting to...
From tonvoon at mac.com Thu Nov 18 14:34:06 2004
From: tonvoon at mac.com (Ton Voon)
Date: Thu Nov 18 14:34:06 2004
Subject: [Nagiosplug-devel] Closing Support Requests
Message-ID:
Guys,
In an attempt to focus (aka trying to minimise the amount of admin), I
was thinking of closing the Support Requests Tracker in SF and move all
calls into Bugs. I don't think there's really a distinction. Agree?
Ton
From noreply at sourceforge.net Thu Nov 18 14:44:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 14:44:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1055120 ] check_tcp.c : Fix bad SSL initialization problems
Message-ID:
Patches item #1055120, was opened at 2004-10-27 08:13
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055120&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Phil Dibowitz (jaymzh)
>Assigned to: Ton Voon (tonvoon)
Summary: check_tcp.c : Fix bad SSL initialization problems
Initial Comment:
This is a patch for Bug ID 1030062. I've added the
patch the Bug Report as well. Paraphrase of the bug report:
There are two problems with the SSL Init Code:
1. In check_tcp.c, the code checks for a return value
of -1 from SSL_connect and only then will it throw an
error. However, the only non-error response is 1, and
thus all other values should throw an error. In my
case, this problem caused an bad initialization to go
uncaught and more random things to happen later.
2. The code supports at most SSLv2, which is obsolete.
The patch will use SSLv3, and if that doesn't work then
fail to SSLv2.
- Phil
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 22:43
Message:
Logged In: YES
user_id=664364
Phil,
Thanks for the patch. Applied to check_tcp v1.42.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055120&group_id=29880
From jhmartin at toger.us Thu Nov 18 14:46:02 2004
From: jhmartin at toger.us (Jason Martin)
Date: Thu Nov 18 14:46:02 2004
Subject: [Nagiosplug-devel] Closing Support Requests
In-Reply-To:
References:
Message-ID: <20041118224459.GB15132@zippy.toger.us>
On Thu, Nov 18, 2004 at 10:33:52PM +0000, Ton Voon wrote:
> In an attempt to focus (aka trying to minimise the amount of admin), I
> was thinking of closing the Support Requests Tracker in SF and move all
> calls into Bugs. I don't think there's really a distinction. Agree?
I think they'll either fall into the 'how do i / is this
possible' category which will hit the mailling list, or the
'this doesn't work' category which would be Bugs. Support
Requests don't sound necessary.
-Jason Martin
--
Fer sell cheep: IBM spel chekker. Wurks grate.
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL:
From noreply at sourceforge.net Thu Nov 18 14:50:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 14:50:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-686476 ] pre compiler barfs on include path for system openssl
Message-ID:
Patches item #686476, was opened at 2003-02-14 10:55
Message generated for change (Settings changed) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=686476&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Lutz Behnke (cypherfox)
>Assigned to: Ton Voon (tonvoon)
Summary: pre compiler barfs on include path for system openssl
Initial Comment:
On Linux, the cpp prints a warning to stderr if a
system include path is reset on the command line. The
configure script takes this to mean that an error
occored. The following patch checks if defining a new
'-I' for the openssl include path is nessecary (it is
not if openssl was installed as part of the system as
for SuSE.
mfg lutz
--- nagios-plugins-1.3.0-beta2/configure.in
2002-11-22 03:46:49.000000000 +0100
+++ src/nagios-plugins-1.3.0-beta2/configure.in
2003-02-14 11:34:38.000000000 +0100
@@ -222,7 +222,10 @@
dnl Check for OpenSSL header files
_SAVEDCPPFLAGS="$CPPFLAGS"
FOUNDINCLUDE=yes
-CPPFLAGS="-I$OPENSSL/include"
+if test "$OPENSSL" != "/usr" ; then
+ CPPFLAGS="-I$OPENSSL/include"
+fi
+
AC_CHECK_HEADERS(openssl/x509.h openssl/ssl.h
openssl/rsa.h openssl/pem.h openssl/crypto.h
openssl/err.h,SSLINCLUDE="-I$OPENSSL/include",FOUNDINCLUDE=no)
if test "$FOUNDINCLUDE" = "no"; then
FOUNDINCLUDE=yes
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 22:49
Message:
Logged In: YES
user_id=664364
Lutz,
Thanks for the patch. Applied to CVS.
Can you please attach patches in future as the format of your patch has
been amended by SF's web pages.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=686476&group_id=29880
From noreply at sourceforge.net Thu Nov 18 14:55:09 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 14:55:09 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-726552 ] Fixed check_disk to AND % and KB values
Message-ID:
Patches item #726552, was opened at 2003-04-23 23:14
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=726552&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Earl Ruby (eruby)
>Assigned to: Ton Voon (tonvoon)
Summary: Fixed check_disk to AND % and KB values
Initial Comment:
Fixed the parameter parsing to work regardless of the
order of the values -- now either "%,KB" or "KB,%" work
for -w and -c parameters.
When both % and KB are specified, the results of the
tests are now logically AND-ed together, rather than
OR-ed, so a disk check with -c 5%,1000000 specified
would fail if a disk volume had BOTH less than 5% free
space AND less than 1GB free.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 22:54
Message:
Logged In: YES
user_id=664364
Earl,
Unfortunately, there is no patch attached. Patch 772757 appears to be
similar. Will close this call for now - if you can provide a patch against a
more recent check_disk.c version, you can add it to the above patch.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=726552&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:07:03 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:07:03 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-932066 ] Improved check_inodes script
Message-ID:
Bugs item #932066, was opened at 2004-04-08 23:36
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=932066&group_id=29880
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Quanah Gibson-Mount (mishikal)
>Assigned to: Ton Voon (tonvoon)
Summary: Improved check_inodes script
Initial Comment:
I've taken the check_inodes script that is part of the
1.4 alpha plugins release, and done a major rewrite. It
now more closely follows nagios plugin standards, and
allows you to check all the partitions on a system for
inode use, much like check_disk.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:06
Message:
Logged In: YES
user_id=664364
Quanah,
Thank you for the tracker item, but there is no script attached.
We are likely to move to using check_disk to include inode checks, so
check_inodes will be removed in future releases.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=932066&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:15:01 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:15:01 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-948667 ] check_procs under HP-UX does not see command arguments
Message-ID:
Bugs item #948667, was opened at 2004-05-05 19:16
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=948667&group_id=29880
Category: Argument proccessing
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Plaksin (happyzi)
Assigned to: Ton Voon (tonvoon)
Summary: check_procs under HP-UX does not see command arguments
Initial Comment:
The ps command used by check_procs on HP-UX does not
show command arguments. So it can't be used to search
for things like "man ascii".
I think this is true for all versions of check_procs.
I've specifically tried 1.3.1 and CVS HEAD under HP-UX
11.00. I suspect it's the same on all versions of HP-UX.
configure picks '/usr/bin/ps -el' as the ps command.
If this is changed to:
/usr/bin/env UNIX95=1 /usr/bin/ps -eo
'state,uid,ppid,args'
and PS_FORMAT is "%s %s %s %n%s" and PS_VARLIST is
procstat,&procuid,&procppid,&pos,procprog
then it works.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:14
Message:
Logged In: YES
user_id=664364
I would like to revisit this as I think it is important for HP-UX support.
jhmartin, thanks for your patch, but check_procs requires information
about status, uid, ppid, vsz, rss, cpu%, command and arguments. Can
someone with HP-UX access find what is a suitable command and
provide a patch for configure.in.
----------------------------------------------------------------------
Comment By: Jason Martin (jhmartin)
Date: 2004-08-12 20:44
Message:
Logged In: YES
user_id=589094
The following configure.in block, placed above all others
that invoke ps -el is working for me (against 1.3.1)
elif /usr/bin/env UNIX95=1 /usr/bin/ps -eo 'state uid ppid
args' 2>/dev/null | egrep -i ["^S +UID +PPID +[RGSCOMDNA]+"]
>/dev/null
then
AC_DEFINE(USE_PS_VARS,1,[Define if we use custom variable
list for sscanf])
AC_DEFINE_UNQUOTED(PS_VARLIST,[procstat,&procuid,&procppid,&pos,procprog],[])
AC_DEFINE_UNQUOTED(PS_COMMAND,"$PATH_TO_ENV UNIX95=1
$PATH_TO_PS -eo 'state uid ppid args'",[])
AC_DEFINE_UNQUOTED(PS_FORMAT,"%s %d %d %n%s",[Format
string for scanning ps output in check_procs])
AC_DEFINE_UNQUOTED(VSZ_COMMAND,"$PATH_TO_PS -el",[])
AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%*s %*s %*s %*s %*s %*s
%*s %*s %*s %d %*s %*s %*s %s",[])
AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -el",[])
AC_DEFINE_UNQUOTED(RSS_FORMAT,"%*s %*s %*s %*s %*s %*s
%*s %*s %*s %d",[])
echo " ps syntax... $PATH_TO_ENV UNIX95=1
$PATH_TO_PS -eo 'state uid ppid args'"
I also added
AC_PATH_PROG(PATH_TO_ENV,env)
after
AC_PATH_PROG(PATH_TO_PS,ps)
----------------------------------------------------------------------
Comment By: Jason Martin (jhmartin)
Date: 2004-08-10 20:36
Message:
Logged In: YES
user_id=589094
ps -ex gives me a syntax error on both 10.20 and 11i.
ps ex returns just processes owned by the current user.
----------------------------------------------------------------------
Comment By: Jason Martin (jhmartin)
Date: 2004-08-10 20:33
Message:
Logged In: YES
user_id=589094
ps -ex gives me a syntax error on both 10.20 and 11i.
ps ex returns just processes owned by the current user.
----------------------------------------------------------------------
Comment By: Tracy Orf (tracyorf)
Date: 2004-08-10 19:00
Message:
Logged In: YES
user_id=557175
ps -ex in HP-UX will show the command line in extended format.
----------------------------------------------------------------------
Comment By: Jason Martin (jhmartin)
Date: 2004-08-10 17:21
Message:
Logged In: YES
user_id=589094
The CVS HEAD configure.in uses ps -el as the ps command for
HP-UX, and that command only returns up to 15 characters of
the command name and excludes all arguments.
ps -ef returns up to 64 characters of
the combination of command name and arguments.
Head -2 of ps -ef returns
UID PID PPID C STIME TTY TIME COMMAND
root 625 624 0 Jun 17 ? 6:11 /usr/sbin/netfmt -
C -F -f /var/adm/nettl.LOG000 -c /var/adm/con
Head -3 of the UNIX95 syntax above returns
$ /usr/bin/env UNIX95=1 /usr/bin/ps -eo 'state,uid,ppid,args'
S UID PPID COMMAND
R 198 3023 /usr/bin/ps -eo state,uid,ppid,args
S 96 1 vmstat -S 300 2
This is true on the following versions of HPUX:
HP-UX hostname B.11.11 U 9000/800 1651319313 unlimited-
user license
HP-UX localhost B.10.20 E 9000/800 882327441 8-user license
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-05-05 22:00
Message:
Logged In: YES
user_id=664364
What do you suggest? It should be something like:
ps -eo 's uid ppid vsz rss pcpu comm args'
to get all the required information. Will need a head -2 output.
----------------------------------------------------------------------
Comment By: Mark Plaksin (happyzi)
Date: 2004-05-05 20:54
Message:
Logged In: YES
user_id=115461
Thanks for the quick response :)
The recent change doesn't do the trick. I tested with
today's CVS.
We run multiple PeopleSoft instances on a single machine.
We want per-instance process checking and the only way to
tell which instance a process is for is by looking at the
arguments to the command. For example, there is one
PSQRYSRV process for earch instance. They show up in the
process table like "PSQRYSRV -C dom=INSTANCE_NAME".
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-05-05 20:42
Message:
Logged In: YES
user_id=664364
Mark,
CVS HEAD was recently changed for HP-UX (configure output should
show HP-UX as the ps syntax). Does this work?
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=948667&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:19:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:19:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-912033 ] check_procs on FreeBSD
Message-ID:
Bugs item #912033, was opened at 2004-03-08 15:21
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=912033&group_id=29880
Category: Argument proccessing
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Branson Matheson (bransonmatheson)
Assigned to: Ton Voon (tonvoon)
Summary: check_procs on FreeBSD
Initial Comment:
Version: Plugins-1.3.1
the check_procs command calls ps -weo 'stat uid ppid
comm args'. FreeBSD needs -aweo to see all processes on
the system. With out it .. it only sees processes in
it's own group with controlling terminals.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:18
Message:
Logged In: YES
user_id=664364
Branson,
I think this is already fixed in CVS HEAD. On FreeBSD 4.8, configure
picks /bin/ps waxco 'state uid ppid vsz rss pcpu command command'.
I have marked this call in pending as we are trying to reduce the number
of calls in preparation for a new release.
Ton
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-03-08 19:49
Message:
Logged In: YES
user_id=664364
Branson,
Thanks for the report. Can you try the CVS snapshot version at http://
nagiosplug.sf.net/snapshot. Also, which version of FreeBSD do you have?
Ton
----------------------------------------------------------------------
Comment By: Branson Matheson (bransonmatheson)
Date: 2004-03-08 18:28
Message:
Logged In: YES
user_id=543327
Also need a .. so the total command line should be:
ps -axweo 'stat...'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=912033&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:32:04 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:32:04 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-951277 ] netutils.c segfault dumps core on solaris 8
Message-ID:
Bugs item #951277, was opened at 2004-05-10 15:31
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=951277&group_id=29880
Category: None
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Mike Hulsman (mhulsman)
>Assigned to: Ton Voon (tonvoon)
Summary: netutils.c segfault dumps core on solaris 8
Initial Comment:
I use 1.4.0alpha1 and HEAD-200405030514.
On both versions when I do a check_tcp or check_ssh
and the port is not availabel I get a Segmentation Fault
(core dumped).
When I put debug info in netutils.c I got yhe following
output:
bash-2.03# ./check_tcp -H 127.0.0.1 -p 21
DBG MJH BEFORE
DBG MJH AFTER
DBG MJH 1
DBG MJH 2
DBG MJH Result: -1
DBG MJH 3
Segmentation Fault (core dumped)
I modified the netutils.c as the following:
*sd = socket (res->ai_family, (proto
== IPPROTO_UDP) ?
SOCK_DGRAM :
SOCK_STREAM, res->ai_protocol);
printf ("DBG MJH 2\n");
if (*sd < 0) {
printf ("Socket creation
failed\n");
freeaddrinfo (res);
return STATE_UNKNOWN;
}
/* attempt to open a connection */
result = connect (*sd, res->ai_addr,
res->ai_addrlen);
if (result == 0) {
was_refused = FALSE;
break;
}
if (result < 0) {
printf ("DBG MJH Result: %d\n", result);
switch (errno) {
case ECONNREFUSED:
printf ("DBG MJH 3\n");
switch
(econn_refuse_state) {
printf ("DBG MJH 4\n");
case STATE_OK:
case STATE_WARNING:
was_refused = TRUE;
}
break;
Here is some truss info:
open("/dev/udp", O_RDONLY) = 3
ioctl(3, 0xC00C6982, 0xFFBEF724) = 0
close(3) = 0
brk(0x0002FF88) = 0
brk(0x00031F88) = 0
sigaction(SIGALRM, 0xFFBEFBA0, 0xFFBEFC20) = 0
alarm(10) = 0
ioctl(1, TCGETA, 0xFFBEF9F4) = 0
DBG MJH BEFORE
write(1, " D B G M J H B E F O".., 15) = 15
DBG MJH AFTER
write(1, " D B G M J H A F T E".., 14) = 14
DBG MJH 1
write(1, " D B G M J H 1\n", 10) = 10
so_socket(2, 2, 0, "", 1) = 3
DBG MJH 2
write(1, " D B G M J H 2\n", 10) = 10
connect(3, 0x0002EE68, 16, 1) Err#146
ECONNREFUSED
DBG MJH Result: -1
write(1, " D B G M J H R e s u".., 19) = 19
DBG MJH 3
write(1, " D B G M J H 3\n", 10) = 10
close(3) = 0
Incurred fault #6, FLTBOUNDS %pc = 0xFF364B44
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000001C
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x0000001C
*** process killed ***
The following is when a session is OK:
bash-2.03# ./check_tcp -H 127.0.0.1 -p 22
DBG MJH BEFORE
DBG MJH AFTER
DBG MJH 1
DBG MJH 2
TCP OK - 0.002 second response time on port 22
|time=2315us;0;0;0;10000
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:31
Message:
Logged In: YES
user_id=664364
Mike,
Thanks for the detailed bug report. There looks like there have been lots
of fixes to netutils.c since your report. Can you please try a more recent
version? I've tried on Sol9 and this does not core dump.
I have marked this call into pending as we try and reduce the number of
calls in the run-up to the new release.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=951277&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:35:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:35:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-962495 ] check_mysql: my_connect conflicts on Debian
Message-ID:
Bugs item #962495, was opened at 2004-05-28 23:47
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=962495&group_id=29880
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nathan Shafer (nicodemus)
>Assigned to: Ton Voon (tonvoon)
Summary: check_mysql: my_connect conflicts on Debian
Initial Comment:
On Debian Sarge (the testing branch), there is a
conflict with the function my_connect between
netutils.h and mysql/mysql_com.h. When running make
after configure, gcc dies with the error:
In file included from /usr/include/mysql/mysql.h:57,
from check_mysql.c:25:
/usr/include/mysql/mysql_com.h:181: error: conflicting
types for `my_connect'
netutils.h:50: error: previous declaration of `my_connect'
I tried it on a redhat 7.2 box, and it works fine...
even though my_connect is defined in both files, it
uses the correct ones and the conflict doesn't happen.
Either it's something with debian, or more likely with
the version of gcc, which is 3.3.3 on Debian Sarge, and
2.95 on the redhat 7.2 box. Changing the my_connect()
function name to _my_connect() seems to fix the
problem. Supplied is a patch that does just that.
Thanks,
Nathan Shafer
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:34
Message:
Logged In: YES
user_id=664364
Nathan,
Thanks for the report, but this has already been fixed. Please try CVS
HEAD and let us know if there is still a problem.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=962495&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:39:04 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:39:04 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-960618 ] Failed compile on AIX 4.3 with gcc 2.95.3
Message-ID:
Bugs item #960618, was opened at 2004-05-26 08:32
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=960618&group_id=29880
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Ben Clewett (benclewett)
>Assigned to: Ton Voon (tonvoon)
Summary: Failed compile on AIX 4.3 with gcc 2.95.3
Initial Comment:
Failed compile on AIX 4.3 with gcc 2.95.3 with snapshot
nagios-plugins-HEAD-200405240514.
Compelation failes on 'check_disk' linkage. Shown below:
gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\ -
DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -
I/usr/local/include -I/include -g -O2 -c `test -
f 'check_disk.c' || echo './'`check_disk.c
gcc -g -O2 -L. -L/usr/local/lib -o check_disk
check_disk.o utils.o ../lib/libnagiosplug.a
popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined
symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined
symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
PS, I am always avaiable for testing,
ben at clewett.org.uk.
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:38
Message:
Logged In: YES
user_id=664364
Ben,
I think this is fixed in CVS HEAD now. Please try the latest snapshot and
let us know if it still fails.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=960618&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:41:14 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:41:14 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1040873 ] check_swap bug in 1.40alpha1
Message-ID:
Bugs item #1040873, was opened at 2004-10-05 19:14
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1040873&group_id=29880
Category: Argument proccessing
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: larry (good_vs_evil)
>Assigned to: Ton Voon (tonvoon)
Summary: check_swap bug in 1.40alpha1
Initial Comment:
The check_swap plugin throws a warning / error if the
warning percentage is less than the critical
percentage, which seems backward.
/usr/local/nagios/libexec/check_swap -w 80% -c 90% -a
Warning percentage should be more than critical percentage
Usage:
check_swap [-a] -w % -c
%
check_swap [-a] -w -c
check_swap (-h | --help) for detailed help
check_swap (-V | --version) for version information
Checking the same command on 1.3.1:
/usr/local/nagios/libexec/check_swap -w 80% -c 90% -a
Swap ok - Swap used: 0% (0 out of 2146754560)
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:40
Message:
Logged In: YES
user_id=664364
Larry,
Thanks for the report. This is already fixed in CVS HEAD. Please try the
snapshot and let us know if it is still a problem.
http://nagiosplug.sf.net/snapshot
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1040873&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:45:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:45:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1033149 ] Plugins 1.4.0alpha1, check_procs, TRU64 bug, with bugfix
Message-ID:
Bugs item #1033149, was opened at 2004-09-23 06:33
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1033149&group_id=29880
Category: Parsing problem
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Alex Peeters (zxr750)
>Assigned to: Ton Voon (tonvoon)
Summary: Plugins 1.4.0alpha1, check_procs, TRU64 bug, with bugfix
Initial Comment:
Nagios Plugins 1.4.0alpha1
# uname -a
OSF1 mvm-smals-prod.be V5.1 2650 alpha
TRU64 work with the next settings
config.guess
dnl Tru64 - needs %*[ +] in PS_FORMAT
elif ps -ao 'stat comm vsz rss user uid ppid args'
2>/dev/null | egrep -i ["^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]
+ +R[S]+ +U[SER]+ +U[ID]+ +P[PID]+ +[RGSCOMDNA]
+"] >/dev/null
then
ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procpc
pu,procprog,&pos]"
ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid
ppid pcpu comm args'"
ac_cv_ps_format=["%s%*[ +] %d %d %f %s %n"]
ac_cv_ps_cols=6
AC_MSG_RESULT([$ac_cv_ps_command])
config.h
/* Number of columns in ps command */
#define PS_COLS 6
/* Verbatim command to execute for ps in check_procs
*/
#define PS_COMMAND "/sbin/ps -eo 'stat uid ppid pcpu
comm args'"
/* Format string for scanning ps output in check_procs
*/
#define PS_FORMAT "%s%*[ +] %d %d %f %s %n"
/* Variable list for sscanf of 'ps' output */
#define PS_VARLIST
procstat,&procuid,&procppid,&procpcpu,procprog,&pos
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:44
Message:
Logged In: YES
user_id=664364
Alex,
Thanks for the report, but I can't understand it due to the formatting on
Sourceforge. I think Tru64 support is okay. Can you try against the latest
snapshot? http://nagiosplug.sf.net/snapshot. If it is still a problem and
you can get a patch, please attach.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1033149&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:46:13 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:46:13 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1030062 ] Bug in check_tcp.c -- with patch
Message-ID:
Bugs item #1030062, was opened at 2004-09-17 20:45
Message generated for change (Settings changed) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1030062&group_id=29880
Category: None
Group: Release (specify)
>Status: Closed
Resolution: None
Priority: 7
Submitted By: Phil Dibowitz (jaymzh)
>Assigned to: Ton Voon (tonvoon)
Summary: Bug in check_tcp.c -- with patch
Initial Comment:
Release 1.3.1
In check_tcp.c it does:
/* Do the SSL handshake */
if ((ssl = SSL_new (ctx)) != NULL)
{
SSL_set_fd (ssl, sd);
if (SSL_connect(ssl) != -1)
return OK;
ERR_print_errors_fp (stderr);
}
Which doesn't work because anything <1 is a valid error
code. In fact, I'm getting a problem with 0 as an error
code. I've changed the code to look like:
/* Do the SSL handshake */
if ((ssl = SSL_new (ctx)) != NULL)
{
SSL_set_fd (ssl, sd);
if (SSL_connect(ssl) == 1)
return OK;
ERR_print_errors_fp (stderr);
}
- Phil
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:45
Message:
Logged In: YES
user_id=664364
Duplicate of 1055120
----------------------------------------------------------------------
Comment By: Phil Dibowitz (jaymzh)
Date: 2004-10-21 09:12
Message:
Logged In: YES
user_id=533101
Okay, it didn't attach. Trying again.
----------------------------------------------------------------------
Comment By: Phil Dibowitz (jaymzh)
Date: 2004-10-20 20:55
Message:
Logged In: YES
user_id=533101
Okay,
I've attached a patch to fix this, as well as another SSL
initialization. The two bugs are:
- The bad checking of return codes
- Using ONLY SSLv2 instead of SSLv23 which will use 3 and
then fall back to 2 if need be.
- Phil
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1030062&group_id=29880
From noreply at sourceforge.net Thu Nov 18 15:49:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 15:49:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1029497 ] check_swap warning percentage should be more than critical
Message-ID:
Bugs item #1029497, was opened at 2004-09-16 22:26
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1029497&group_id=29880
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: earl_3 (earl_3)
>Assigned to: Ton Voon (tonvoon)
Summary: check_swap warning percentage should be more than critical
Initial Comment:
In check_swap, warning and critical percentages are
expressed as percentage of swap used, so the warning
percentage should be less than the critical percentage.
(You might want to be warned when swap is 60% used, and
get a critical alarm when it's 80% used.)
However, when you try to enter a warning percentage
that's less than the critical percentage you get the
error "warning percentage should be more than critical
percentage":
> ./check_swap -w 90% -c 95%
Warning percentage should be more than critical percentage
Usage:
check_swap [-a] -w % -c
%
check_swap [-a] -w -c
check_swap (-h | --help) for detailed help
check_swap (-V | --version) for version information
> ./check_swap -w 98% -c 95%
SWAP OK: -2147483548% free (0 MB out of 0 MB)
|swap=0MB;0;0;0;0
> ./check_swap -V
check_swap (nagios-plugins 1.4.0alpha1) 1.24
> uname -a
Linux XXXX 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC
2004 i686 i686 i386 GNU/Linux
(The "-2147483548% free" error is already covered in
bug request #905971.)
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 23:48
Message:
Logged In: YES
user_id=664364
Earl_3,
Thanks for the report, but I'm sure this is already fixed. Please try the
latest snapshot at http://nagiosplug.sf.net/snapshot and update this call
if it is still a problem.
Set to pending as we are trying to close as many calls as possible in
preparation for the next release.
Ton
----------------------------------------------------------------------
Comment By: M. Sean Finney (seanius)
Date: 2004-09-17 01:02
Message:
Logged In: YES
user_id=226838
i think this is already fixed in 1.4.0alpha2:
gingko[~]19:59:11$ /usr/local/nagios/libexec/check_swap -h
Usage:
check_swap [-av] -w % -c %
/me grumbles that is was flip-flopped in the first place :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1029497&group_id=29880
From tonvoon at mac.com Thu Nov 18 16:14:02 2004
From: tonvoon at mac.com (Ton Voon)
Date: Thu Nov 18 16:14:02 2004
Subject: [Nagiosplug-devel] Some changes to check_http
In-Reply-To: <66150DEA041C2D4CA39D7096B032126C02241AB7@exchange.supportcomm.com.br>
References: <66150DEA041C2D4CA39D7096B032126C02241AB7@exchange.supportcomm.com.br>
Message-ID:
Ibere,
Thanks for the patch. Applied to CVS HEAD.
Ton
On 3 Nov 2004, at 16:24, Iber? Luiz Di Tizio Junior wrote:
> Hi,
>
> My name is Ibere and I work in a brazilian telecom company.
>
> We have been using nagios and nagios plugins, but in our http checks,
> we usually need to simulate phone requests (or
> other devices).
>
> So, we need to change some http tags in header of http request (like
> user-agent, accept...)
>
> I have changed the check_http code (downloaded in 11:00 am Nov/03 -
> 2004) to implement:
>
> -A STRING? or?? --useragent=STRING?????????? String to be sent in http
> header as "User Agent"
>
> And
>
> -k STRING?? or??? --header=STRING???????????? Any other tags to be
> sent in http header, separeted by semicolon
>
> Well, I don?t know how to suggest changes, or how can I could become a
> volunteer, so any comment will be apreciated..
> I?d like to submit this code..
>
> Thanks,
> Iber? Luiz Di Tizio J?nior
>
> <> <>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1888 bytes
Desc: not available
URL:
From trevorwarren at gmail.com Thu Nov 18 17:35:21 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Thu Nov 18 17:35:21 2004
Subject: [Nagiosplug-devel] Re: Compile VA_COPY problems (nagios...)
In-Reply-To: <1B5C3DCDB5F2A24196C3C247A3597A210244B739@vicpmail01.aglcorp.agl.com.au>
References: <1B5C3DCDB5F2A24196C3C247A3597A210244B739@vicpmail01.aglcorp.agl.com.au>
Message-ID: <559e3cb60411181731de9f0f5@mail.gmail.com>
Hiyee,
There is a patch that was written by ERIC. I just downloaded the
patch and applied it to the 1.4 series of code and things worked
perfectly. What i was also told is that if i downloaded the CVS HEAD
it should have the patch in the code already.
Just see what works for you, either take 1.4 and patch it with ERIC's
patch or use CVS Head and try. You will need to install gettext and
glibc on AIX for the compilation from the gnu-utils cd.
Take care and lemme know if you need anything else.
Trevor
On Fri, 19 Nov 2004 11:10:46 +1100, Kasperczyk, Alf wrote:
> Hi Trevor,
>
> I noticed on gmane.org that you eventually resolved your issue with compile problems...
> I'm getting the same error compiling nagios plugins on AIX 5.2 with vacc++ V6 with similar errors:
> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> make: 1254-004 The error code from the last command is 8.
> Can you enlighten me what you fixed/changed in the lib/Makefile.am file (if that is the same issue as I have)?
>
> Thanks.
>
> > Regards,
> > Alf.
> > ------------------------------------------------------------------
> > Alfred Kasperczyk, National UNIX Team Leader
> > Platforms & Storage, AGL, Pinewood
> > E-mail :
> > Phone : +61 3 9222 9017
> > Mobile : +61 419 105 183
> > ------------------------------------------------------------------
> > "There is nothing wrong with change, if it is in the right direction." - Winston Churchill
> >
>
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From trevorwarren at gmail.com Thu Nov 18 17:35:22 2004
From: trevorwarren at gmail.com (Trevor Warren)
Date: Thu Nov 18 17:35:22 2004
Subject: [Nagiosplug-devel] Re: Compile VA_COPY problems (nagios...)
In-Reply-To: <1B5C3DCDB5F2A24196C3C247A3597A210244B739@vicpmail01.aglcorp.agl.com.au>
References: <1B5C3DCDB5F2A24196C3C247A3597A210244B739@vicpmail01.aglcorp.agl.com.au>
Message-ID: <559e3cb60411181731de9f0f5@mail.gmail.com>
Hiyee,
There is a patch that was written by ERIC. I just downloaded the
patch and applied it to the 1.4 series of code and things worked
perfectly. What i was also told is that if i downloaded the CVS HEAD
it should have the patch in the code already.
Just see what works for you, either take 1.4 and patch it with ERIC's
patch or use CVS Head and try. You will need to install gettext and
glibc on AIX for the compilation from the gnu-utils cd.
Take care and lemme know if you need anything else.
Trevor
On Fri, 19 Nov 2004 11:10:46 +1100, Kasperczyk, Alf wrote:
> Hi Trevor,
>
> I noticed on gmane.org that you eventually resolved your issue with compile problems...
> I'm getting the same error compiling nagios plugins on AIX 5.2 with vacc++ V6 with similar errors:
> ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> make: 1254-004 The error code from the last command is 8.
> Can you enlighten me what you fixed/changed in the lib/Makefile.am file (if that is the same issue as I have)?
>
> Thanks.
>
> > Regards,
> > Alf.
> > ------------------------------------------------------------------
> > Alfred Kasperczyk, National UNIX Team Leader
> > Platforms & Storage, AGL, Pinewood
> > E-mail :
> > Phone : +61 3 9222 9017
> > Mobile : +61 419 105 183
> > ------------------------------------------------------------------
> > "There is nothing wrong with change, if it is in the right direction." - Winston Churchill
> >
>
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
From noreply at sourceforge.net Thu Nov 18 19:14:23 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 19:14:23 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1035234 ] check_http with -L -S gives http instead of https
Message-ID:
Bugs item #1035234, was opened at 2004-09-26 18:51
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1035234&group_id=29880
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Abid Rasheed (royabid)
>Assigned to: Matthew Kent (mattkent)
Summary: check_http with -L -S gives http instead of https
Initial Comment:
When check_http used with -L and -S (ssl) options, the
output HREFcomes with http:// instead of starting with
https://.
Regards,
Abid
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-18 18:53
Message:
Logged In: YES
user_id=983566
Fixed in HEAD. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1035234&group_id=29880
From noreply at sourceforge.net Thu Nov 18 19:46:53 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 19:46:53 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1010097 ] check_procs & timeout
Message-ID:
Bugs item #1010097, was opened at 2004-08-16 08:51
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1010097&group_id=29880
Category: None
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jason Martin (jhmartin)
>Assigned to: Matthew Kent (mattkent)
Summary: check_procs & timeout
Initial Comment:
The check_procs plugin does not set a timeout before
executing the ps command. This may result in poor
timeout behavior, for example a NRPE error stating the
socket timed out vs a 'pretty' error indicating that ps
didn't complete in time.
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-18 19:45
Message:
Logged In: YES
user_id=983566
There was already a placeholder for a timeout flag in
check_procs. I've added the extra couple lines to make it
happen and in testing it appears to work as advertised.
Fixed in HEAD.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1010097&group_id=29880
From noreply at sourceforge.net Thu Nov 18 20:02:23 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Nov 18 20:02:23 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1025905 ] check_ntp inconsistent units
Message-ID:
Bugs item #1025905, was opened at 2004-09-10 08:00
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1025905&group_id=29880
Category: Interface (example)
Group: CVS
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jason Martin (jhmartin)
>Assigned to: Matthew Kent (mattkent)
Summary: check_ntp inconsistent units
Initial Comment:
check_ntp.pl does not use consistent units when
labelling $offset; in some cases it uses seconds and
others it uses milliseconds. The correct value is
seconds and all the "$offset msec" strings need to be
"$offset sec".
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-18 20:00
Message:
Logged In: YES
user_id=983566
Thanks for the patch. Fixed in HEAD.
----------------------------------------------------------------------
Comment By: Jason Martin (jhmartin)
Date: 2004-09-10 08:02
Message:
Logged In: YES
user_id=589094
Attaching a corrective patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1025905&group_id=29880
From ae at op5.se Fri Nov 19 00:11:02 2004
From: ae at op5.se (Andreas Ericsson)
Date: Fri Nov 19 00:11:02 2004
Subject: [Nagiosplug-devel] Java Plugins
In-Reply-To: <20041118213812.GV642@Jos-Vissers-Computer.local>
References: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com> <20041118213812.GV642@Jos-Vissers-Computer.local>
Message-ID: <419DAA59.8040705@op5.se>
Jos Visser wrote:
> Plugins in Java are possible, and so is calling Java from Perl. The
> performance will probably suck because it takes a long time to
> initialize the entire Java runtime environment (JVM, libraries)
>
Indeed. Java is a hog, which should be loaded once and once only on
every machine where it is to run.
> It would probably be better to:
>
> - Run the check as a daemon and:
> - control that daemon from, or
> - use the whats-its-name protocol to communicate status directly to
> Nagios
>
I'd say the best you can do is have a small webapplet running on the
weblogic server which you can fetch some info from and parse in a perl,
C or shell-script. That way you get the info on-demand, but keep from
loading java each time the check is run.
> If you are really brave you could extend Nagios with native Java plug-in
> support. This would entail linking libjvm.sl into Nagios and hacking
> some code to call Java methods directly as check_command's... This would
> also mean that you don't need to build up the JVM every time...
>
I daresay this hack would never make it into the official nagios core
though, especially considering the embedded perl support which nowadays
require completely bewildered solutions to work properly.
> ++Jos.es
>
> On Thu, Nov 18, 2004 at 02:28:16PM -0700 it came to pass that David Robinson wrote:
>
>>I have written Nagios Perl plugins that invoke the weblogic.Admin java class
>>to monitor runtime information of my WebLogic Servers. The weblogic.Admin
>>class executes JMX requests to a given WebLogic Server process. It looks
>>like:
>>
>>
>>
>>
>>
>>Nagios Process --> Perl Process --> Java Process --> JMX call across the
>>network --> Remote WebLogic Server Process
>>
>>
>>
>>
>>
>>These plugins do not seem to perform very well. Does anyone have any
>>suggestions on improving the performance of plugins for monitoring WebLogic
>>Server?
>>
>>
>>
>>I also tried writing a plugin directly in Java, but I'm not sure if this is
>>supported. Nagios did not receive any output from my Java plugins even
>>though I was exiting with the proper error codes. Has anyone created
>>plugins in Java?
>>
>>
>>
>>Thanks for your assistance,
>>
>>Dave
>>
>
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From josv at osp.nl Fri Nov 19 00:48:04 2004
From: josv at osp.nl (Jos Visser)
Date: Fri Nov 19 00:48:04 2004
Subject: Native plugins (was Re: [Nagiosplug-devel] Java Plugins)
In-Reply-To: <419DAA59.8040705@op5.se>
References: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com>
<20041118213812.GV642@Jos-Vissers-Computer.local>
<419DAA59.8040705@op5.se>
Message-ID: <20041119084745.GA642@Jos-Vissers-Computer.local>
Indeed; a servlet/EJB or whatever in WebLogic that can be controlled
remotely by a Perl script would be very much the appropriate way forward
right now.
With respect to the embedded Perl and embedded Java stuff: Wouldn't is
be a good idea to extend Nagios with a generic "native plugin" feature
that would take the form of a shared library conforming to a defined
interface. Through some extensions to the command language the native
plugin could be loaded and integrate itself. Then through extension
keywords we could get the plugin to do stuff (very much like the Apache
plugin module interface). The entire discussion of embedded Perl,
embedded Java, embedded Lisp or whatever could then be short circuited
to native plugin development...
++Jos.es
On Fri, Nov 19, 2004 at 09:10:01AM +0100 it came to pass that Andreas Ericsson wrote:
> Jos Visser wrote:
> >Plugins in Java are possible, and so is calling Java from Perl. The
> >performance will probably suck because it takes a long time to
> >initialize the entire Java runtime environment (JVM, libraries)
> >
>
> Indeed. Java is a hog, which should be loaded once and once only on
> every machine where it is to run.
>
> >It would probably be better to:
> >
> >- Run the check as a daemon and:
> > - control that daemon from, or
> > - use the whats-its-name protocol to communicate status directly to
> > Nagios
> >
>
> I'd say the best you can do is have a small webapplet running on the
> weblogic server which you can fetch some info from and parse in a perl,
> C or shell-script. That way you get the info on-demand, but keep from
> loading java each time the check is run.
>
> >If you are really brave you could extend Nagios with native Java plug-in
> >support. This would entail linking libjvm.sl into Nagios and hacking
> >some code to call Java methods directly as check_command's... This would
> >also mean that you don't need to build up the JVM every time...
> >
>
> I daresay this hack would never make it into the official nagios core
> though, especially considering the embedded perl support which nowadays
> require completely bewildered solutions to work properly.
>
> >++Jos.es
> >
> >On Thu, Nov 18, 2004 at 02:28:16PM -0700 it came to pass that David
> >Robinson wrote:
> >
> >>I have written Nagios Perl plugins that invoke the weblogic.Admin java
> >>class
> >>to monitor runtime information of my WebLogic Servers. The weblogic.Admin
> >>class executes JMX requests to a given WebLogic Server process. It looks
> >>like:
> >>
> >>
> >>
> >>
> >>
> >>Nagios Process --> Perl Process --> Java Process --> JMX call across the
> >>network --> Remote WebLogic Server Process
> >>
> >>
> >>
> >>
> >>
> >>These plugins do not seem to perform very well. Does anyone have any
> >>suggestions on improving the performance of plugins for monitoring
> >>WebLogic
> >>Server?
> >>
> >>
> >>
> >>I also tried writing a plugin directly in Java, but I'm not sure if this
> >>is
> >>supported. Nagios did not receive any output from my Java plugins even
> >>though I was exiting with the proper error codes. Has anyone created
> >>plugins in Java?
> >>
> >>
> >>
> >>Thanks for your assistance,
> >>
> >>Dave
> >>
> >
> >
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
--
What's worth reacting to, is worth overreacting to...
From ae at op5.se Fri Nov 19 01:04:08 2004
From: ae at op5.se (Andreas Ericsson)
Date: Fri Nov 19 01:04:08 2004
Subject: Native plugins (was Re: [Nagiosplug-devel] Java Plugins)
In-Reply-To: <20041119084745.GA642@Jos-Vissers-Computer.local>
References: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com> <20041118213812.GV642@Jos-Vissers-Computer.local> <419DAA59.8040705@op5.se> <20041119084745.GA642@Jos-Vissers-Computer.local>
Message-ID: <419DB6E0.4070409@op5.se>
Jos Visser wrote:
> With respect to the embedded Perl and embedded Java stuff: Wouldn't is
> be a good idea to extend Nagios with a generic "native plugin" feature
> that would take the form of a shared library conforming to a defined
> interface. Through some extensions to the command language the native
> plugin could be loaded and integrate itself. Then through extension
> keywords we could get the plugin to do stuff (very much like the Apache
> plugin module interface). The entire discussion of embedded Perl,
> embedded Java, embedded Lisp or whatever could then be short circuited
> to native plugin development...
>
The idea is a bit flawed for a number of reasons.
1. Plugins are highly flexible. They can usually perform many checks
with a just a little argument tweaking (check_http springs to mind).
2. Plugin development is highly flexible. A plugin can be written in any
language. A shared library would only get C plugins (and not until
they're incorporated), so that still leaves a fair number out.
3. Plugins already written in C impose a very minor additional load to
the system, while retaining the flexibility and "debugability" of a
separate program (check_http --help springs once again to mind).
4. Internal code to do checks would seriously increase Nagios' code
volume and make it infinitely less stable.
5. Some plugins needs to use additional environmental variables or run
as a different user (plugins that need raw sockets, for instance). While
this can be solved, it requires non-trivial code (temporary privilege
elevation within the core) and can possibly present a security risk.
> ++Jos.es
>
> On Fri, Nov 19, 2004 at 09:10:01AM +0100 it came to pass that Andreas Ericsson wrote:
>
>>Jos Visser wrote:
>>
>>>Plugins in Java are possible, and so is calling Java from Perl. The
>>>performance will probably suck because it takes a long time to
>>>initialize the entire Java runtime environment (JVM, libraries)
>>>
>>
>>Indeed. Java is a hog, which should be loaded once and once only on
>>every machine where it is to run.
>>
>>
>>>It would probably be better to:
>>>
>>>- Run the check as a daemon and:
>>> - control that daemon from, or
>>> - use the whats-its-name protocol to communicate status directly to
>>> Nagios
>>>
>>
>>I'd say the best you can do is have a small webapplet running on the
>>weblogic server which you can fetch some info from and parse in a perl,
>>C or shell-script. That way you get the info on-demand, but keep from
>>loading java each time the check is run.
>>
>>
>>>If you are really brave you could extend Nagios with native Java plug-in
>>>support. This would entail linking libjvm.sl into Nagios and hacking
>>>some code to call Java methods directly as check_command's... This would
>>>also mean that you don't need to build up the JVM every time...
>>>
>>
>>I daresay this hack would never make it into the official nagios core
>>though, especially considering the embedded perl support which nowadays
>>require completely bewildered solutions to work properly.
>>
>>
>>>++Jos.es
>>>
>>>On Thu, Nov 18, 2004 at 02:28:16PM -0700 it came to pass that David
>>>Robinson wrote:
>>>
>>>
>>>>I have written Nagios Perl plugins that invoke the weblogic.Admin java
>>>>class
>>>>to monitor runtime information of my WebLogic Servers. The weblogic.Admin
>>>>class executes JMX requests to a given WebLogic Server process. It looks
>>>>like:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>Nagios Process --> Perl Process --> Java Process --> JMX call across the
>>>>network --> Remote WebLogic Server Process
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>These plugins do not seem to perform very well. Does anyone have any
>>>>suggestions on improving the performance of plugins for monitoring
>>>>WebLogic
>>>>Server?
>>>>
>>>>
>>>>
>>>>I also tried writing a plugin directly in Java, but I'm not sure if this
>>>>is
>>>>supported. Nagios did not receive any output from my Java plugins even
>>>>though I was exiting with the proper error codes. Has anyone created
>>>>plugins in Java?
>>>>
>>>>
>>>>
>>>>Thanks for your assistance,
>>>>
>>>>Dave
>>>>
>>>
>>>
>>--
>>Andreas Ericsson andreas.ericsson at op5.se
>>OP5 AB www.op5.se
>>Lead Developer
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: InterSystems CACHE
>>FREE OODBMS DOWNLOAD - A multidimensional database that combines
>>robust object and relational technologies, making it a perfect match
>>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>>_______________________________________________
>>Nagiosplug-devel mailing list
>>Nagiosplug-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>::: Please include plugins version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From ae at op5.se Fri Nov 19 01:58:02 2004
From: ae at op5.se (Andreas Ericsson)
Date: Fri Nov 19 01:58:02 2004
Subject: [Nagiosplug-devel] Plugin development
Message-ID: <419DC38A.3000104@op5.se>
I just want to mention how absolutely delighted I am that plugin
development has picked up the pace again.
Also I'd like to greet the new developers, Matthew Kent and Harper Mann.
I'll drop my own fork of the project and apply whatever patches I've
made to the official one instead.
On a side-note;
I've tried to contact the fping maintainer (current and all of the
previous) as well as stanford's legal department regarding the fping
source-code included in the check_icmp plugin I've written. After some
20 emails I haven't got any responses at all, so I think it's safe to
include the check_icmp plugin in the main distribution now.
It can be found at http://oss.op5.se, in the Nagios section. Latest
version is check_icmp-0.8.1
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From ae at op5.se Fri Nov 19 02:19:02 2004
From: ae at op5.se (Andreas Ericsson)
Date: Fri Nov 19 02:19:02 2004
Subject: [Nagiosplug-devel] Translations and gettext
Message-ID: <419DC86C.8080203@op5.se>
I've been wondering about the value of plugin translations, considering
a few points.
1. There doesn't seem to be any actual translations (although the
groundwork has been laid for german and french).
2. It's always a pain to keep such things up to date. Wouldn't it be
wiser to concentrate on code development instead?
3. Scripts aren't translated, so the usefulness is somewhat crippled.
4. It adds a requirement for gettext if you want to help with
development. gettext may be installed by default on many platforms, but
it's not on HP-UX, AIX, Tru64 and many of the others, so it could quite
possibly have negative impact for contributors looking to fix issues on
some of the less common distributions.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From Ben at clewett.org.uk Fri Nov 19 02:33:05 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Fri Nov 19 02:33:05 2004
Subject: [Nagiosplug-devel] AIX
In-Reply-To: <419DC86C.8080203@op5.se>
References: <419DC86C.8080203@op5.se>
Message-ID: <419DCBBB.1030500@clewett.org.uk>
I have tried the latest snapshot nagios-plugins-HEAD-200411190547 under
AIX 4.3.3.0. I get a configuration error:
configure: error: getloadavg.c is not in .//lib
I note that the package does not come with a 'lib' directory, and none
of the directories I have contain the file getloadavg.c
Do any member know how to get round this so that I can attempt a make?
Regards,
Ben Clewett
From edwinv at asti.dost.gov.ph Fri Nov 19 03:15:14 2004
From: edwinv at asti.dost.gov.ph (VINAS Edwin D.)
Date: Fri Nov 19 03:15:14 2004
Subject: [Nagiosplug-devel] how to unsubscribe
Message-ID: <002001c4ce28$f6fe4850$03080a0a@asti.dost.gov.ph>
hi,
please tell me how to unsubscribe from this list.
thank you very much for all the info.
-edwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ae at op5.se Fri Nov 19 03:43:03 2004
From: ae at op5.se (Andreas Ericsson)
Date: Fri Nov 19 03:43:03 2004
Subject: [Nagiosplug-devel] Perl guidelines
Message-ID: <419DDC21.5000005@op5.se>
Perl scripts lack uniform guidelines as to their indentation and coding
styles. I've written up some to be included in the CODING document
distributed with the CVS distribution. The text is borrowed (with
modifications) from the O'Reilly book "Programming Perl".
I have just now written O'Reilly asking permission to include the text.
Patch included against latest CVS.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagiosplug-CODING-perl_guidelines.diff
URL:
From josv at osp.nl Fri Nov 19 04:37:04 2004
From: josv at osp.nl (Jos Visser)
Date: Fri Nov 19 04:37:04 2004
Subject: Native plugins (was Re: [Nagiosplug-devel] Java Plugins)
In-Reply-To: <419DB6E0.4070409@op5.se>
References: <99899D7E2E3BD411A9DB00508B665DF20FCF2A3E@slcntdex01.albertsons.com>
<20041118213812.GV642@Jos-Vissers-Computer.local>
<419DAA59.8040705@op5.se>
<20041119084745.GA642@Jos-Vissers-Computer.local>
<419DB6E0.4070409@op5.se>
Message-ID: <20041119123551.GC642@Jos-Vissers-Computer.local>
I beg to differ on a number of your arguments. However, since it was
only a brainwave on my part and also because I am not actually planning
to write the code involved we can easily leave it at that...
++Jos.es
On Fri, Nov 19, 2004 at 10:03:28AM +0100 it came to pass that Andreas Ericsson wrote:
> Jos Visser wrote:
> >With respect to the embedded Perl and embedded Java stuff: Wouldn't is
> >be a good idea to extend Nagios with a generic "native plugin" feature
> >that would take the form of a shared library conforming to a defined
> >interface. Through some extensions to the command language the native
> >plugin could be loaded and integrate itself. Then through extension
> >keywords we could get the plugin to do stuff (very much like the Apache
> >plugin module interface). The entire discussion of embedded Perl,
> >embedded Java, embedded Lisp or whatever could then be short circuited
> >to native plugin development...
> >
>
> The idea is a bit flawed for a number of reasons.
> 1. Plugins are highly flexible. They can usually perform many checks
> with a just a little argument tweaking (check_http springs to mind).
>
> 2. Plugin development is highly flexible. A plugin can be written in any
> language. A shared library would only get C plugins (and not until
> they're incorporated), so that still leaves a fair number out.
>
> 3. Plugins already written in C impose a very minor additional load to
> the system, while retaining the flexibility and "debugability" of a
> separate program (check_http --help springs once again to mind).
>
> 4. Internal code to do checks would seriously increase Nagios' code
> volume and make it infinitely less stable.
>
> 5. Some plugins needs to use additional environmental variables or run
> as a different user (plugins that need raw sockets, for instance). While
> this can be solved, it requires non-trivial code (temporary privilege
> elevation within the core) and can possibly present a security risk.
>
>
> >++Jos.es
> >
> >On Fri, Nov 19, 2004 at 09:10:01AM +0100 it came to pass that Andreas
> >Ericsson wrote:
> >
> >>Jos Visser wrote:
> >>
> >>>Plugins in Java are possible, and so is calling Java from Perl. The
> >>>performance will probably suck because it takes a long time to
> >>>initialize the entire Java runtime environment (JVM, libraries)
> >>>
> >>
> >>Indeed. Java is a hog, which should be loaded once and once only on
> >>every machine where it is to run.
> >>
> >>
> >>>It would probably be better to:
> >>>
> >>>- Run the check as a daemon and:
> >>>- control that daemon from, or
> >>>- use the whats-its-name protocol to communicate status directly to
> >>> Nagios
> >>>
> >>
> >>I'd say the best you can do is have a small webapplet running on the
> >>weblogic server which you can fetch some info from and parse in a perl,
> >>C or shell-script. That way you get the info on-demand, but keep from
> >>loading java each time the check is run.
> >>
> >>
> >>>If you are really brave you could extend Nagios with native Java plug-in
> >>>support. This would entail linking libjvm.sl into Nagios and hacking
> >>>some code to call Java methods directly as check_command's... This would
> >>>also mean that you don't need to build up the JVM every time...
> >>>
> >>
> >>I daresay this hack would never make it into the official nagios core
> >>though, especially considering the embedded perl support which nowadays
> >>require completely bewildered solutions to work properly.
> >>
> >>
> >>>++Jos.es
> >>>
> >>>On Thu, Nov 18, 2004 at 02:28:16PM -0700 it came to pass that David
> >>>Robinson wrote:
> >>>
> >>>
> >>>>I have written Nagios Perl plugins that invoke the weblogic.Admin java
> >>>>class
> >>>>to monitor runtime information of my WebLogic Servers. The
> >>>>weblogic.Admin
> >>>>class executes JMX requests to a given WebLogic Server process. It
> >>>>looks
> >>>>like:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>Nagios Process --> Perl Process --> Java Process --> JMX call across
> >>>>the
> >>>>network --> Remote WebLogic Server Process
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>These plugins do not seem to perform very well. Does anyone have any
> >>>>suggestions on improving the performance of plugins for monitoring
> >>>>WebLogic
> >>>>Server?
> >>>>
> >>>>
> >>>>
> >>>>I also tried writing a plugin directly in Java, but I'm not sure if
> >>>>this is
> >>>>supported. Nagios did not receive any output from my Java plugins even
> >>>>though I was exiting with the proper error codes. Has anyone created
> >>>>plugins in Java?
> >>>>
> >>>>
> >>>>
> >>>>Thanks for your assistance,
> >>>>
> >>>>Dave
> >>>>
> >>>
> >>>
> >>--
> >>Andreas Ericsson andreas.ericsson at op5.se
> >>OP5 AB www.op5.se
> >>Lead Developer
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by: InterSystems CACHE
> >>FREE OODBMS DOWNLOAD - A multidimensional database that combines
> >>robust object and relational technologies, making it a perfect match
> >>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> >>_______________________________________________
> >>Nagiosplug-devel mailing list
> >>Nagiosplug-devel at lists.sourceforge.net
> >>https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> >>::: Please include plugins version (-v) and OS when reporting any issue.
> >>::: Messages without supporting info will risk being sent to /dev/null
> >
> >
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
--
What's worth reacting to, is worth overreacting to...
From tonvoon at mac.com Fri Nov 19 04:57:06 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 04:57:06 2004
Subject: [Nagiosplug-devel] AIX
In-Reply-To: <419DCBBB.1030500@clewett.org.uk>
References: <419DC86C.8080203@op5.se> <419DCBBB.1030500@clewett.org.uk>
Message-ID: <6FD7E374-3A2A-11D9-A216-000A95D47298@mac.com>
Ben,
Can you try the new CVS HEAD. I've changed the compile server on
Sourceforge because I think there was some system problem.
If it still fails, can you send the complete configure output.
This is a hard one to diagnose remotely - can I get access onto an AIX
server to test?
Ton
On 19 Nov 2004, at 10:32, Ben Clewett wrote:
>
> I have tried the latest snapshot nagios-plugins-HEAD-200411190547
> under AIX 4.3.3.0. I get a configuration error:
>
> configure: error: getloadavg.c is not in .//lib
>
> I note that the package does not come with a 'lib' directory, and none
> of the directories I have contain the file getloadavg.c
>
> Do any member know how to get round this so that I can attempt a make?
>
> Regards,
>
> Ben Clewett
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any
> issue. ::: Messages without supporting info will risk being sent to
> /dev/null
>
From tonvoon at mac.com Fri Nov 19 05:17:03 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 05:17:03 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <419DC86C.8080203@op5.se>
References: <419DC86C.8080203@op5.se>
Message-ID: <36E925A4-3A2D-11D9-A216-000A95D47298@mac.com>
On 19 Nov 2004, at 10:18, Andreas Ericsson wrote:
> I've been wondering about the value of plugin translations,
> considering a few points.
>
> 1. There doesn't seem to be any actual translations (although the
> groundwork has been laid for german and french).
>
> 2. It's always a pain to keep such things up to date. Wouldn't it be
> wiser to concentrate on code development instead?
That's why I would like some volunteers to keep translations up to date
- they can be given CVS access for the necessary files only. From my
experience with gettext so far, it doesn't get too much in the way of
development.
> 3. Scripts aren't translated, so the usefulness is somewhat crippled.
True, but there was demand for translated output and I think that
translational ability is overall A Good Thing.
> 4. It adds a requirement for gettext if you want to help with
> development. gettext may be installed by default on many platforms,
> but it's not on HP-UX, AIX, Tru64 and many of the others, so it could
> quite possibly have negative impact for contributors looking to fix
> issues on some of the less common distributions.
Only developers taking the CVS code out would be affected. The
requirements for automake and autoconf are not necessary if you just
take the distributions and change a single line in C or perl. I started
making contributions to the project without any need for automake,
autoconf, gettext or docbook-utils.
It is a risk that we are raising the barrier to entry, but that is a
price to pay if translations are worth keeping.
Ton
From tonvoon at mac.com Fri Nov 19 05:20:10 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 05:20:10 2004
Subject: [Nagiosplug-devel] how to unsubscribe
In-Reply-To: <002001c4ce28$f6fe4850$03080a0a@asti.dost.gov.ph>
References: <002001c4ce28$f6fe4850$03080a0a@asti.dost.gov.ph>
Message-ID:
Edwin,
You can find options at
http://lists.sourceforge.net/lists/listinfo/nagiosplug-devel (via
http://sf.net/projects/nagiosplug then Lists).
Karl, is it possible to add a line at the end of every message to point
to here to unsubscribe?
Ton
On 19 Nov 2004, at 11:14, VINAS Edwin D. wrote:
> hi,
> ?
> please tell me how to unsubscribe from this list.
> ?
> thank you very much for all the info.
> ?
> -edwin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 754 bytes
Desc: not available
URL:
From kdebisschop at alert.infoplease.com Fri Nov 19 05:27:06 2004
From: kdebisschop at alert.infoplease.com (Karl DeBisschop)
Date: Fri Nov 19 05:27:06 2004
Subject: [Nagiosplug-devel] how to unsubscribe
In-Reply-To:
References: <002001c4ce28$f6fe4850$03080a0a@asti.dost.gov.ph>
Message-ID: <419DF47A.4000204@alert.infoplease.com>
Ton Voon wrote:
> Edwin,
>
> You can find options at
> http://lists.sourceforge.net/lists/listinfo/nagiosplug-devel (via
> http://sf.net/projects/nagiosplug then Lists).
>
> Karl, is it possible to add a line at the end of every message to point
> to here to unsubscribe?
Yes - I'll get started on it.
> Ton
>
> On 19 Nov 2004, at 11:14, VINAS Edwin D. wrote:
>
> hi,
>
> please tell me how to unsubscribe from this list.
>
> thank you very much for all the info.
>
> -edwin
>
--
K
From Ben at clewett.org.uk Fri Nov 19 06:10:00 2004
From: Ben at clewett.org.uk (Ben Clewett)
Date: Fri Nov 19 06:10:00 2004
Subject: [Nagiosplug-devel] AIX
In-Reply-To: <6FD7E374-3A2A-11D9-A216-000A95D47298@mac.com>
References: <419DC86C.8080203@op5.se> <419DCBBB.1030500@clewett.org.uk> <6FD7E374-3A2A-11D9-A216-000A95D47298@mac.com>
Message-ID: <419DFE7B.6090504@clewett.org.uk>
Ton Voon wrote:
> Ben,
>
> Can you try the new CVS HEAD. I've changed the compile server on
> Sourceforge because I think there was some system problem.
Lets have a look...
./configure
Slow slow slow....
checking for getloadavg... no
checking for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg... no
checking for getloadavg... no
checking whether getloadavg requires setgid... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
This box is over ten years old, I guess it's working as fast as it
can... That's IBM, never been down in all that time. Doesn't mean it
does anything more clever than draining the North London national grid,
but never breaks.
That's five minutes, still going...
Yes! The configure works :)
There are some make warning, I will show you and you can decide:
l10nflist.c: In function `_nl_make_l10nflist':
l10nflist.c:253: warning: assignment makes pointer from integer without
a cast
l10nflist.c:258: warning: assignment makes pointer from integer without
a cast
l10nflist.c:263: warning: assignment makes pointer from integer without
a cast
l10nflist.c:268: warning: assignment makes pointer from integer without
a cast
l10nflist.c:275: warning: assignment makes pointer from integer without
a cast
l10nflist.c:280: warning: assignment makes pointer from integer without
a cast
l10nflist.c:286: warning: assignment makes pointer from integer without
a cast
l10nflist.c:290: warning: assignment makes pointer from integer without
a cast
l10nflist.c: In function `_nl_normalize_codeset':
l10nflist.c:420: warning: assignment makes pointer from integer without
a cast
fsusage.c: In function `get_fs_usage':
fsusage.c:247: warning: decimal constant is so large that it is unsigned
fsusage.c:248: warning: decimal constant is so large that it is unsigned
fsusage.c:255: warning: decimal constant is so large that it is unsigned
fsusage.c:256: warning: decimal constant is so large that it is unsigned
fsusage.c:259: warning: decimal constant is so large that it is unsigned
fsusage.c:260: warning: decimal constant is so large that it is unsigned
Then unfortunately an error:
getloadavg.c:117: cloexec.h: No such file or directory
Sorry, it was looking good.
Ben
Ton Voon wrote:
> Ben,
>
> Can you try the new CVS HEAD. I've changed the compile server on
> Sourceforge because I think there was some system problem.
>
> If it still fails, can you send the complete configure output.
>
> This is a hard one to diagnose remotely - can I get access onto an AIX
> server to test?
>
> Ton
>
> On 19 Nov 2004, at 10:32, Ben Clewett wrote:
>
>>
>> I have tried the latest snapshot nagios-plugins-HEAD-200411190547
>> under AIX 4.3.3.0. I get a configuration error:
>>
>> configure: error: getloadavg.c is not in .//lib
>>
>> I note that the package does not come with a 'lib' directory, and none
>> of the directories I have contain the file getloadavg.c
>>
>> Do any member know how to get round this so that I can attempt a make?
>>
>> Regards,
>>
>> Ben Clewett
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: InterSystems CACHE
>> FREE OODBMS DOWNLOAD - A multidimensional database that combines
>> robust object and relational technologies, making it a perfect match
>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
>> _______________________________________________
>> Nagiosplug-devel mailing list
>> Nagiosplug-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>> ::: Please include plugins version (-v) and OS when reporting any
>> issue. ::: Messages without supporting info will risk being sent to
>> /dev/null
>>
>
From tonvoon at mac.com Fri Nov 19 08:08:01 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 08:08:01 2004
Subject: [Nagiosplug-devel] Perl guidelines
In-Reply-To: <419DDC21.5000005@op5.se>
References: <419DDC21.5000005@op5.se>
Message-ID: <1946682D-3A45-11D9-A216-000A95D47298@mac.com>
Andreas,
This makes sense to add. I don't think you need permission as I think
the whole Perl book is generated from the perldoc supplied with perl
and that is under an Artistic or GPL license. Since you have credited
the original source, that should be sufficient. In CVS now.
While we are talking about guidelines, what about following our
developer guidelines (section 8.1):
Patches should be submitted via SourceForge's tracker system for
Nagiosplug patches and be announced to the nagiosplug-devel mailing
list.
:)
Ton
On 19 Nov 2004, at 11:42, Andreas Ericsson wrote:
> Perl scripts lack uniform guidelines as to their indentation and
> coding styles. I've written up some to be included in the CODING
> document distributed with the CVS distribution. The text is borrowed
> (with modifications) from the O'Reilly book "Programming Perl".
>
> I have just now written O'Reilly asking permission to include the text.
>
> Patch included against latest CVS.
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
> Index: CODING
> ===================================================================
> RCS file: /cvsroot/nagiosplug/nagiosplug/CODING,v
> retrieving revision 1.2
> diff -u -r1.2 CODING
> --- CODING 9 Feb 2003 12:54:01 -0000 1.2
> +++ CODING 19 Nov 2004 11:42:07 -0000
> @@ -2,7 +2,9 @@
> code that is consistent with the existing core plugins.
>
> The primary goals of these standards are internal consistency, and
> -readability in a wide range of environments.
> +readability in a wide range of environments, as well as the mental
> welfare
> +of plugin developers.
> +
>
> 1. C Language Programming
>
> @@ -33,6 +35,83 @@
> e) The opening brace of an if or while block is on the same line as
> the end of the conditional expression (the '-br' option).
>
> +
> 2. Perl Language Programming
>
> -
> +Taken from the O'Reilly book "Programming Perl" (3rd edition, pages
> 604-606) with
> +modifications for clarity and to cohere with C coding standards.
> +
> +*) Always check the return code of system calls.
> +
> +a) Use tab indentation.
> +
> +b) Put space before the opening brace of a multiline block.
> +
> +c) A short block may be put on one line, including braces.
> +
> +d) Never omit the semicolon.
> +
> +e) Surround most operators with space.
> +
> + $x = 5; # do this
> + $y=5; # don't do this
> +
> +f) Surround a "complex" subscript (inside brackets) with space.
> +
> +g) Put empty lines between chunks of code that do different things.
> +
> +*) Always check the return code of system calls.
> +
> +h) Put a newline between closing brace and else or elsif.
> +
> +i) Do not put space between a function name and its opening
> parenthesis.
> +
> +j) Do not put space before a semicolon.
> +
> +k) Put space after each comma.
> +
> +l) Break long lines after an operator (but before 'and' and 'or',
> even when
> +spelled as && and ||)).
> +
> +*) Always check the return code of system calls.
> +
> +m) Line up corresponding items vertically.
> +
> +n) Use redundant parentheses only where it increases readability.
> +
> +o) An opening brace should be put on the same line as its preceding
> keyword,
> +if possible; otherwise, line them up vertically.
> +
> + while ($condition) {
> + # do something
> + }
> +
> + while ($this_condition and $that_condition and $some_other_condition
> + and $this_really_really_really_long_condition)
> + {
> + # do something
> + }
> +
> +p) Do things the most readable way. For instance:
> +
> + open(FOO, $foo) or die "Can't open $foo: $!";
> +
> +is better than
> +
> + die "Can't open $foo: $!" unless open(FOO, $foo);
> +
> +because the second way hides the main point of the statement in a
> modifier.
> +
> +q) Just because an operator lets you assume default arguments doesn't
> mean
> +that you should always use them. The defaults are there for lazy
> programmers
> +writing one-shot, non-shared programs. If you want your program to be
> readable,
> +consider supplying the argument.
> +
> +r) Choose mnemonic identifiers. That is, don't name your variables
> $h, $c
> +and $w. Try $hostaddress, $critical and $warning instead ($host,
> $crit and
> +$warn is OK too).
> +
> +s) Use underscore to split words in long identifiers. That is, use
> +$service_port instead of $ServicePort as the former is much more
> readable.
> +
> +*) Always check the return code of system calls.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 4494 bytes
Desc: not available
URL:
From benoit.mortier at opensides.be Fri Nov 19 08:09:00 2004
From: benoit.mortier at opensides.be (Benoit Mortier)
Date: Fri Nov 19 08:09:00 2004
Subject: [Nagiosplug-devel] Announcement regarding nagiosplug 1.4 release
In-Reply-To: <9F13DF6C-396B-11D9-A216-000A95D47298@mac.com>
References: <9F13DF6C-396B-11D9-A216-000A95D47298@mac.com>
Message-ID: <200411191708.22445.benoit.mortier@opensides.be>
Le jeudi 18 Novembre 2004 15:10, Ton Voon a ?crit?:
> How can you help? As always, please use the latest code available (at
> http://nagiosplug.sourceforge.net/snapshot) and let us know of any bugs
> or if you have patches (but we are not accepting any major enhancements
> for the current release). This is best done through Sourceforge's
> tracker system (at http://sourceforge.net/projects/nagiosplug) because
> otherwise it may get lost in the mailing lists. Also, performance data
> has not been fully implemented on all plugins - patches will be
> gratefully received if they conform to the guidelines
> (http://nagiosplug.sourceforge.net/developer-guidelines.html). Finally,
> we are looking for volunteers to do some of the translations - at the
> moment, we only have partial translations in French and German. Let me
> know if you want to help.
yes i can help for the french translation, and the performance data will
look at the cvs code this week-end.
If time permit ;-) i can also make debian package of the different
releases ;-) to make testing more easiest
> While this is the plan, please remember that this is an open source
> project. As such, everyone involved is making a judgement call on
> spending time on this project instead of time with their friends,
> families or cars. We'll aim to get as much done as possible, but please
> understand if the schedule slips or the quality is compromised.
The quality is rather good ;-) no worry about that
See you soon
--
Benoit Mortier
OpenSides sprl
Linux Engineer
From David.Robinson at albertsons.com Fri Nov 19 08:48:00 2004
From: David.Robinson at albertsons.com (David Robinson)
Date: Fri Nov 19 08:48:00 2004
Subject: [Nagiosplug-devel] Re: Native plugins (was Re: Java Plugins)
Message-ID: <2B38F3058AA1AF4884AADC7B0E89D89B023734@sslc2k3ex01.msg.albertsons.com>
Does anyone on this thread have any experience writing plugins in Java?
At this time I must use a Java process on the Nagios host in order to
use the JMX (Java Management Extensions) protocol to communicate with my
WebLogic Server processes on remote hosts.
I have successfully written Perl plugins that call Java code, but I have
been unsuccessful with writing plugins directly in Java.
When I execute my draft Java plugins from the command line as the Nagios
user, I get correct output to STDOUT and correct exit codes ... for
example:
sh-2.05$ whoami
nagios
sh-2.05$ /home/bea/jdk141_05/bin/java -classpath
/usr/lib/nagios/bea_jars/813/weblogic.jar:/usr/lib/nagios/plugins_custom
/wls8nagios.jar com.albertsons.nagios.WLS8ThreadMonitor -H lnx074 -P
9193 -u beaprod -p want2gohome -D absCommonWLI -S absCommonWLIMngd1 -M
weblogic.kernel.Default
THREADS OK: 1 thread(s) used out of 100
sh-2.05$ echo $?
0
sh-2.05$
When the same plugin is called from the Nagios process I receive a
message such as below in the nagios.log file:
[1100884674] SERVICE ALERT: lnx112;WLS-812-THREADS;WARNING;SOFT;2;(No
output!)
Any idea why I am not receiving any output? I am writing the status
message using System.out.println("THREADS ..."); and
System.exit(EXIT_CODE);
Thanks for the discussion,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From josv at osp.nl Fri Nov 19 10:46:00 2004
From: josv at osp.nl (Jos Visser)
Date: Fri Nov 19 10:46:00 2004
Subject: [Nagiosplug-devel] Re: Native plugins (was Re: Java Plugins)
In-Reply-To: <2B38F3058AA1AF4884AADC7B0E89D89B023734@sslc2k3ex01.msg.albertsons.com>
References: <2B38F3058AA1AF4884AADC7B0E89D89B023734@sslc2k3ex01.msg.albertsons.com>
Message-ID: <20041119184447.GO642@Jos-Vissers-Computer.local>
I would like to venture the guess that the environment that Nagios runs
in does not contain the PATH, CLASSPATH, SHLIB_PATH, JAVA_HOME or other
relevant environment variables.
++Jos.es
On Fri, Nov 19, 2004 at 09:47:02AM -0700 it came to pass that David Robinson wrote:
> Does anyone on this thread have any experience writing plugins in Java?
>
>
>
> At this time I must use a Java process on the Nagios host in order to
> use the JMX (Java Management Extensions) protocol to communicate with my
> WebLogic Server processes on remote hosts.
>
>
>
> I have successfully written Perl plugins that call Java code, but I have
> been unsuccessful with writing plugins directly in Java.
>
>
>
> When I execute my draft Java plugins from the command line as the Nagios
> user, I get correct output to STDOUT and correct exit codes ... for
> example:
>
>
>
> sh-2.05$ whoami
>
> nagios
>
> sh-2.05$ /home/bea/jdk141_05/bin/java -classpath
> /usr/lib/nagios/bea_jars/813/weblogic.jar:/usr/lib/nagios/plugins_custom
> /wls8nagios.jar com.albertsons.nagios.WLS8ThreadMonitor -H lnx074 -P
> 9193 -u beaprod -p want2gohome -D absCommonWLI -S absCommonWLIMngd1 -M
> weblogic.kernel.Default
>
> THREADS OK: 1 thread(s) used out of 100
>
> sh-2.05$ echo $?
>
> 0
>
> sh-2.05$
>
>
>
>
>
> When the same plugin is called from the Nagios process I receive a
> message such as below in the nagios.log file:
>
>
>
> [1100884674] SERVICE ALERT: lnx112;WLS-812-THREADS;WARNING;SOFT;2;(No
> output!)
>
>
>
>
>
> Any idea why I am not receiving any output? I am writing the status
> message using System.out.println("THREADS ..."); and
> System.exit(EXIT_CODE);
>
>
>
> Thanks for the discussion,
>
> Dave
>
--
What's worth reacting to, is worth overreacting to...
From kdebisschop at alert.infoplease.com Fri Nov 19 12:48:02 2004
From: kdebisschop at alert.infoplease.com (Karl DeBisschop)
Date: Fri Nov 19 12:48:02 2004
Subject: [Nagiosplug-devel] Plugin development
In-Reply-To: <419DC38A.3000104@op5.se>
References: <419DC38A.3000104@op5.se>
Message-ID: <419E5BD1.1080903@alert.infoplease.com>
Andreas Ericsson wrote:
> On a side-note;
> I've tried to contact the fping maintainer (current and all of the
> previous) as well as stanford's legal department regarding the fping
> source-code included in the check_icmp plugin I've written. After some
> 20 emails I haven't got any responses at all, so I think it's safe to
> include the check_icmp plugin in the main distribution now.
>
> It can be found at http://oss.op5.se, in the Nagios section. Latest
> version is check_icmp-0.8.1
In your code, you say:
* COPYLEFT;
* This programs copyright status is currently undetermined. Much of
* the code in it comes from the fping2 program which used to be licensed
* under the Stanford General Software License (available at
* http://graphics.stanford.edu/software/license.html). It is presently
* unclear what license (if any) applies to the original code at the
* moment.
Can you remind me again what is unclear about the license status of the
code that you are working from? Why wouldn't we use:
/* fping website: http://www.fping.com
*
* Current maintainers of fping:
*
* ZeroHype Technologies Inc. (http://www.zerohype.com)
* Suggestions and patches, please email noc at zerohype.com
*
* Original author: Roland Schemers
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by Stanford University. The name of the University may not be used
* to endorse or promote products derived from this software without
* specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
from the current version of fping.c at at the fping website?
--
K
From ymettier at perfparse.org Fri Nov 19 14:21:03 2004
From: ymettier at perfparse.org (Yves)
Date: Fri Nov 19 14:21:03 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <20041119164906.7303A1D4F7F@sc8-sf-uberspam1.sourceforge.net>
References: <20041119164906.7303A1D4F7F@sc8-sf-uberspam1.sourceforge.net>
Message-ID: <50371.192.168.3.65.1100886236.squirrel@192.168.3.65>
Just finished to internationalize (and made bad translation into French) our project
Perfparse...
Below, some comments from my experience with i18n on other projects.
> Message: 2
> Cc: nagiosplug-devel at lists.sourceforge.net
> From: Ton Voon
> Subject: Re: [Nagiosplug-devel] Translations and gettext
> Date: Fri, 19 Nov 2004 13:16:25 +0000
> To: Andreas Ericsson
>
>
> On 19 Nov 2004, at 10:18, Andreas Ericsson wrote:
>
>> 2. It's always a pain to keep such things up to date. Wouldn't it be
>> wiser to concentrate on code development instead?
>
> That's why I would like some volunteers to keep translations up to date
> - they can be given CVS access for the necessary files only. From my
> experience with gettext so far, it doesn't get too much in the way of
> development.
For the projects I internationalized, I always updated the code for i18n, provide some
bad translation to French (as an example for contributors) and then let people translate
what they want.
This takes a little time at the beginning for the programmer, but when the code is
internationalized, there is no more work for him.
With gettext and C programs, there are 3 lines to add in main(), and #include
to write at the beginning of all the source files. That takes less than 5
minutes.
Then you have to change "string" with _("string") everywhere. Except in a particular
case (html output), it is very fast, and editors even provide macros for that.
>> 3. Scripts aren't translated, so the usefulness is somewhat crippled.
>
> True, but there was demand for translated output and I think that
> translational ability is overall A Good Thing.
A Good Thing : yes, definitely :)
Well, that's my opinion.
The demand exists because you sometimes install nagios and have alerts. You install
nagios, and others read alerts. The others are not always very good in English.
The demand may exist also because people love their mother's language. Well, that's
another point :)
>> 4. It adds a requirement for gettext if you want to help with
>> development. gettext may be installed by default on many platforms,
>> but it's not on HP-UX, AIX, Tru64 and many of the others, so it could
>> quite possibly have negative impact for contributors looking to fix
>> issues on some of the less common distributions.
>
> Only developers taking the CVS code out would be affected. The
> requirements for automake and autoconf are not necessary if you just
> take the distributions and change a single line in C or perl. I started
> making contributions to the project without any need for automake,
> autoconf, gettext or docbook-utils.
Are you sure with gettext ? Here, I agree with Andreas.
On one hand, when you run gettextize -intl, it installs some files that help if you
don't have libintl. But don't you need gettext on your system ?
On the other hand, when gettextize is not installed, you can disable i18n with some
--disable-nls or something like that. Then the compiler will not complain about missing
gettext. I have never tested it.
Yves
--
- Homepage - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key - http://ymettier.free.fr/gpg.txt -
- Maitretarot - http://www.nongnu.org/maitretarot/ -
- Perfparse - http://perfparse.sf.net/ -
From kdebisschop at alert.infoplease.com Fri Nov 19 14:30:02 2004
From: kdebisschop at alert.infoplease.com (Karl DeBisschop)
Date: Fri Nov 19 14:30:02 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <50371.192.168.3.65.1100886236.squirrel@192.168.3.65>
References: <20041119164906.7303A1D4F7F@sc8-sf-uberspam1.sourceforge.net> <50371.192.168.3.65.1100886236.squirrel@192.168.3.65>
Message-ID: <419E73A6.6060308@alert.infoplease.com>
Yves wrote:
> Just finished to internationalize (and made bad translation into French) our project
> Perfparse...
> Below, some comments from my experience with i18n on other projects.
>
>
>>Message: 2
>>Cc: nagiosplug-devel at lists.sourceforge.net
>>From: Ton Voon
>>Subject: Re: [Nagiosplug-devel] Translations and gettext
>>Date: Fri, 19 Nov 2004 13:16:25 +0000
>>To: Andreas Ericsson
>>
>>
>>On 19 Nov 2004, at 10:18, Andreas Ericsson wrote:
>>
>>
>>>2. It's always a pain to keep such things up to date. Wouldn't it be
>>>wiser to concentrate on code development instead?
>>
>>That's why I would like some volunteers to keep translations up to date
>>- they can be given CVS access for the necessary files only. From my
>>experience with gettext so far, it doesn't get too much in the way of
>>development.
>
>
> For the projects I internationalized, I always updated the code for i18n, provide some
> bad translation to French (as an example for contributors) and then let people translate
> what they want.
> This takes a little time at the beginning for the programmer, but when the code is
> internationalized, there is no more work for him.
>
> With gettext and C programs, there are 3 lines to add in main(), and #include
> to write at the beginning of all the source files. That takes less than 5
> minutes.
> Then you have to change "string" with _("string") everywhere. Except in a particular
> case (html output), it is very fast, and editors even provide macros for that.
This is already done for the core plugins
--
K
From noreply at sourceforge.net Fri Nov 19 15:29:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Fri Nov 19 15:29:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-932066 ] Improved check_inodes script
Message-ID:
Bugs item #932066, was opened at 2004-04-08 15:36
Message generated for change (Comment added) made by mishikal
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=932066&group_id=29880
Category: None
Group: None
Status: Closed
Resolution: None
Priority: 5
Submitted By: Quanah Gibson-Mount (mishikal)
Assigned to: Ton Voon (tonvoon)
Summary: Improved check_inodes script
Initial Comment:
I've taken the check_inodes script that is part of the
1.4 alpha plugins release, and done a major rewrite. It
now more closely follows nagios plugin standards, and
allows you to check all the partitions on a system for
inode use, much like check_disk.
----------------------------------------------------------------------
>Comment By: Quanah Gibson-Mount (mishikal)
Date: 2004-11-19 15:28
Message:
Logged In: YES
user_id=621416
Thats fine, that is what we'd prefer to see as well. :) It
is odd, because the attachment was here at one point. oh well.
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 15:06
Message:
Logged In: YES
user_id=664364
Quanah,
Thank you for the tracker item, but there is no script attached.
We are likely to move to using check_disk to include inode checks, so
check_inodes will be removed in future releases.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=932066&group_id=29880
From tonvoon at mac.com Fri Nov 19 23:12:01 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 23:12:01 2004
Subject: [Nagiosplug-devel] AIX
In-Reply-To: <419DCBBB.1030500@clewett.org.uk>
References: <419DC86C.8080203@op5.se> <419DCBBB.1030500@clewett.org.uk>
Message-ID: <546CFEDA-3AC3-11D9-A216-000A95D47298@mac.com>
CVS HEAD finally fixes the getloadavg.c and va_copy problems on AIX.
However, there appears to be a dependency on gettext being installed
which I was not aware of, which is still outstanding.
On 19 Nov 2004, at 10:32, Ben Clewett wrote:
>
> I have tried the latest snapshot nagios-plugins-HEAD-200411190547
> under AIX 4.3.3.0. I get a configuration error:
>
> configure: error: getloadavg.c is not in .//lib
>
> I note that the package does not come with a 'lib' directory, and none
> of the directories I have contain the file getloadavg.c
>
> Do any member know how to get round this so that I can attempt a make?
>
> Regards,
>
> Ben Clewett
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any
> issue. ::: Messages without supporting info will risk being sent to
> /dev/null
>
From tonvoon at mac.com Fri Nov 19 23:16:01 2004
From: tonvoon at mac.com (Ton Voon)
Date: Fri Nov 19 23:16:01 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <50371.192.168.3.65.1100886236.squirrel@192.168.3.65>
References: <20041119164906.7303A1D4F7F@sc8-sf-uberspam1.sourceforge.net> <50371.192.168.3.65.1100886236.squirrel@192.168.3.65>
Message-ID:
On 19 Nov 2004, at 17:43, Yves wrote:
>>> 4. It adds a requirement for gettext if you want to help with
>>> development. gettext may be installed by default on many platforms,
>>> but it's not on HP-UX, AIX, Tru64 and many of the others, so it could
>>> quite possibly have negative impact for contributors looking to fix
>>> issues on some of the less common distributions.
>>
>> Only developers taking the CVS code out would be affected. The
>> requirements for automake and autoconf are not necessary if you just
>> take the distributions and change a single line in C or perl. I
>> started
>> making contributions to the project without any need for automake,
>> autoconf, gettext or docbook-utils.
>
> Are you sure with gettext ? Here, I agree with Andreas.
> On one hand, when you run gettextize -intl, it installs some files
> that help if you
> don't have libintl. But don't you need gettext on your system ?
>
> On the other hand, when gettextize is not installed, you can disable
> i18n with some
> --disable-nls or something like that. Then the compiler will not
> complain about missing
> gettext. I have never tested it.
>
My assumption was that the plugins would use gettext on the system if
it found it, otherwise would be statically linked from the distribution
- this appears to be wrong because Ben Clewett seems to have lots of
trouble compiling on an old AIX without gettext. I don't want gettext
to be a runtime requirement for the plugins and I'm sure it is possible
to have it statically linked.
I will have a look at this, but I am probably at the limit of my
knowledge on the configuring of gettext. Any help much appreciated.
Ton
From ae at op5.se Sat Nov 20 01:52:00 2004
From: ae at op5.se (Andreas Ericsson)
Date: Sat Nov 20 01:52:00 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <36E925A4-3A2D-11D9-A216-000A95D47298@mac.com>
References: <419DC86C.8080203@op5.se> <36E925A4-3A2D-11D9-A216-000A95D47298@mac.com>
Message-ID: <419F135C.607@op5.se>
Ton Voon wrote:
>
> On 19 Nov 2004, at 10:18, Andreas Ericsson wrote:
>
>> I've been wondering about the value of plugin translations,
>> considering a few points.
>>
>> 1. There doesn't seem to be any actual translations (although the
>> groundwork has been laid for german and french).
>>
>> 2. It's always a pain to keep such things up to date. Wouldn't it be
>> wiser to concentrate on code development instead?
>
>
> That's why I would like some volunteers to keep translations up to date
> - they can be given CVS access for the necessary files only. From my
> experience with gettext so far, it doesn't get too much in the way of
> development.
>
>> 3. Scripts aren't translated, so the usefulness is somewhat crippled.
>
>
> True, but there was demand for translated output and I think that a
> translational ability is overall A Good Thing.
>
I would rather have conformity. I wouldn't want some checks to output
english and some others to output swedish. Besides, the target audience
(network admins) are usually required to speak english to do their job
anyway.
>> 4. It adds a requirement for gettext if you want to help with
>> development. gettext may be installed by default on many platforms,
>> but it's not on HP-UX, AIX, Tru64 and many of the others, so it could
>> quite possibly have negative impact for contributors looking to fix
>> issues on some of the less common distributions.
>
>
> Only developers taking the CVS code out would be affected. The
> requirements for automake and autoconf are not necessary if you just
> take the distributions and change a single line in C or perl.
But submitted patches should always be against latest CVS, right?
How about including the configure script in CVS then?
sh tools/setup fails miserably without recent versions of auto* and gettext.
> I started
> making contributions to the project without any need for automake,
> autoconf, gettext or docbook-utils.
>
> It is a risk that we are raising the barrier to entry, but that is a
> price to pay if translations are worth keeping.
>
But are they? I haven't seen any questions regarding translations on
any of the mailing lists, and seeing as there aren't any translations
completed I would half expect users who want them to ask for them.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From tonvoon at mac.com Sat Nov 20 08:57:12 2004
From: tonvoon at mac.com (Ton Voon)
Date: Sat Nov 20 08:57:12 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <419F135C.607@op5.se>
References: <419DC86C.8080203@op5.se> <36E925A4-3A2D-11D9-A216-000A95D47298@mac.com> <419F135C.607@op5.se>
Message-ID: <253305F6-3B15-11D9-A216-000A95D47298@mac.com>
On 20 Nov 2004, at 09:50, Andreas Ericsson wrote:
> Ton Voon wrote:
>> On 19 Nov 2004, at 10:18, Andreas Ericsson wrote:
>>> 3. Scripts aren't translated, so the usefulness is somewhat crippled.
>> True, but there was demand for translated output and I think that a
>> translational ability is overall A Good Thing.
>
> I would rather have conformity. I wouldn't want some checks to output
> english and some others to output swedish. Besides, the target
> audience (network admins) are usually required to speak english to do
> their job anyway.
>
If you want conformity, then just set your language to English. But I
wouldn't restrict someone else's use of the plugins. YMMV.
>>> 4. It adds a requirement for gettext if you want to help with
>>> development. gettext may be installed by default on many platforms,
>>> but it's not on HP-UX, AIX, Tru64 and many of the others, so it
>>> could quite possibly have negative impact for contributors looking
>>> to fix issues on some of the less common distributions.
>> Only developers taking the CVS code out would be affected. The
>> requirements for automake and autoconf are not necessary if you just
>> take the distributions and change a single line in C or perl.
>
> But submitted patches should always be against latest CVS, right?
> How about including the configure script in CVS then?
> sh tools/setup fails miserably without recent versions of auto* and
> gettext.
When I first looked at the C plugins, I thought the configure.in and
Makefile.am were over complicated pieces of GNU software. Now, they are
an absolute lifesaver because they do some much for one of the aims of
the project - to reach multiple platforms. There is no way I would
recommend moving away from that.
Yes, there is a requirement for automake, autoconf and gettext (for
development work only, but I think there's an outstanding bug in
gettext at the moment). This is documented in the developer's
guidelines. If the requirement is incorrectly documented (eg, wrong
versions), please raise that as a bug.
>> I started making contributions to the project without any need for
>> automake, autoconf, gettext or docbook-utils.
>> It is a risk that we are raising the barrier to entry, but that is a
>> price to pay if translations are worth keeping.
>
> But are they? I haven't seen any questions regarding translations on
> any of the mailing lists, and seeing as there aren't any translations
> completed I would half expect users who want them to ask for them.
>
Yves Mettier has implemented translations in his performance graphing
tools. Benoit Mortier has offered to help translate. I count this as
two votes, and that's only in the last few days. There have been
requests before, although admittedly some time ago.
Ton
From tonvoon at mac.com Sat Nov 20 09:05:02 2004
From: tonvoon at mac.com (Ton Voon)
Date: Sat Nov 20 09:05:02 2004
Subject: [Nagiosplug-devel] Announcement regarding nagiosplug 1.4 release
In-Reply-To: <200411191708.22445.benoit.mortier@opensides.be>
References: <9F13DF6C-396B-11D9-A216-000A95D47298@mac.com> <200411191708.22445.benoit.mortier@opensides.be>
Message-ID: <34AF3FD6-3B16-11D9-A216-000A95D47298@mac.com>
Benoit,
Thank you for your offer of helping. I will look into giving you CVS
access for the translational files, but unfortunately I do not fully
understand how it works at the moment. Do you just need access to
update the po/*.po files?
Also, as we are only just starting to populate more of the
translations, please let us know if there is anything that the
developers can help with (eg, reusing similar messages, duplication of
messsages, etc).
Ton
On 19 Nov 2004, at 16:08, Benoit Mortier wrote:
> Le jeudi 18 Novembre 2004 15:10, Ton Voon a ?crit?:
>
>> How can you help? As always, please use the latest code available (at
>> http://nagiosplug.sourceforge.net/snapshot) and let us know of any
>> bugs
>> or if you have patches (but we are not accepting any major
>> enhancements
>> for the current release). This is best done through Sourceforge's
>> tracker system (at http://sourceforge.net/projects/nagiosplug) because
>> otherwise it may get lost in the mailing lists. Also, performance data
>> has not been fully implemented on all plugins - patches will be
>> gratefully received if they conform to the guidelines
>> (http://nagiosplug.sourceforge.net/developer-guidelines.html).
>> Finally,
>> we are looking for volunteers to do some of the translations - at the
>> moment, we only have partial translations in French and German. Let me
>> know if you want to help.
>
> yes i can help for the french translation, and the performance data
> will
> look at the cvs code this week-end.
>
> If time permit ;-) i can also make debian package of the different
> releases ;-) to make testing more easiest
From noreply at sourceforge.net Sat Nov 20 13:38:04 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 13:38:04 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-913633 ] check_http does not send port in Host field of GET request
Message-ID:
Bugs item #913633, was opened at 2004-03-10 09:28
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=913633&group_id=29880
Category: None
Group: v1.3.0 beta3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ben Johnson (darkstar101)
>Assigned to: Matthew Kent (mattkent)
Summary: check_http does not send port in Host field of GET request
Initial Comment:
I need the port reflected in the Host: field of the GET
request. Siteminder uses this info in applying security
authorizations.
here's my check_http version: check_http
(nagios-plugins 1.3.1) 1.24.2.4
Here's ngrep sniffs showing the request to the web
server from check_http and links.
$ check_http -H msp21754 -p 61616 -u /
T 10.163.68.117:49879 -> 10.163.180.47:61616 [AP]
GET / HTTP/1.0..Host: msp21754..User-Agent:
check_http/1.24.2.4 (nagios-plugins ).
$ links --source http://msp21754:61616/
T 10.163.68.117:49866 -> 10.163.180.47:61616 [AP]
GET / HTTP/1.1..Host: msp21754:61616..User-Agent:
ELinks (0.4.2; Linux; )..Referer:
http://msp21754:61616/..Accept: */*..Accept-Encoding:
bzip2, gzip..Accept-Charset: us-ascii, ISO-8859-1,
ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8895-5,
ISO-8859-6, ISO-8859-7, ISO-88
59-8, ISO-8895-9, ISO-8859-10, ISO-8859-13,
ISO-8859-14, ISO-8859-15, ISO-8859-16, windows-1250, window
s-1251, windows-1252, windows-1256, windows-1257,
cp437, cp737, cp850, cp852, cp866, x-cp866-u, x-mac,
x-mac-ce, x-kam-cs, koi8-r, koi8-u, koi8-ru,
TCVN-5712, VISCII, utf-8..Accept-Language: en..Connection:
Keep-Alive....
I can work around the problem by specifying the IP to
connect to with -I and putting host:IP in the -H parameter:
$check_http -I 10.163.180.47 -H msp21754:61616 -p 61616
-u /
T 10.163.68.117:49894 -> 10.163.180.47:61616 [AP]
GET / HTTP/1.0..Host: msp21754:61616..User-Agent:
check_http/1.24.2.4 (nagios-plugins )....
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 13:37
Message:
Logged In: YES
user_id=983566
I know it seems silly to have to specify the port twice, but
the way it functions currently best fits the description of
the flags. Plus I'd rather let the user send whatever host
header they'd like instead of forcefully appending a port.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=913633&group_id=29880
From noreply at sourceforge.net Sat Nov 20 14:28:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 14:28:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-946857 ] check_ping - output error
Message-ID:
Bugs item #946857, was opened at 2004-05-03 03:05
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=946857&group_id=29880
Category: Argument proccessing
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Pumuckel1980 (pumuckel1980)
>Assigned to: Matthew Kent (mattkent)
Summary: check_ping - output error
Initial Comment:
Hello,
I have some problems with the "nagios-plugins-
1.4.0alpha1". In this Version the check_ping plugin show
me the following result:
"bin/ping -n -U -c 1 ntest2ext
Error: Could not interpret output from ping command"
It's OK when I use the "nagios-plugins-1.3.1.tar.gz".
./check_ping -H ntest2ext -w 3000.0,80% -c
5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA =
0.22 ms
PING OK - Packet loss = 0%, RTA = 0.46 ms
Here are my differnet settings:
1.
nagios-plugins-1.3.1.tar.gz
##############################
= uname -a
"Linux *HOSTNAME* 2.4.22 #1 SMP Mit Okt 29 15:21:08
CET 2003 i686 i686 i386 GNU/Linux"
=./check_ping -H *HOSTNAME* -w 3000.0,80% -c
5000.0,100% -p 1
"PING OK - Packet loss = 0%, RTA = 0.22 ms
PING OK - Packet loss = 0%, RTA = 0.48 ms"
2.
"nagios-plugins-1.4.0alpha1"
##############################
= uname -a
"Linux *HOSTNAME* 2.4.22 #1 SMP Mit Okt 29 1:21:08
CET 2003 i686 i686 i386 GNU/Linux"
=./check_ping -H ntest2ext -w 3000.0,80% -c
5000.0,100% -p 1
"/bin/ping -n -U -c 1 ntest2ext
Error: Could not interpret output from ping command"
thanks for help
bye
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 14:27
Message:
Logged In: YES
user_id=983566
Okay thank you for the output. I've added a case to
hopefully catch it in cvs HEAD.
Would you be able to download the latest version and test?
----------------------------------------------------------------------
Comment By: Patrick Lynch (plynch)
Date: 2004-07-23 08:53
Message:
Logged In: YES
user_id=375667
I have created a patch for this in Redhat ES 3.0. The
reported output from ping changed ever so slightly and was
breaking when the host was down. Here is the patch. The
work 'packet' is no longer shown in the errors output field.
------ Begin check_ping.c patch for RedHat ES 3.0 -------
--- plugins/check_ping.c 2003-01-13
07:15:16.000000000 -0500
+++ plugins/check_ping.c.new 2004-07-23
10:32:56.000000000 -0500
@@ -387,6 +387,9 @@
(input_buffer, "%*d
packets transmitted, %*d packets received, +%*d errors, %d%%
packet loss",
&pl) == 1
|| sscanf
+ (input_buffer, "%*d
packets transmitted, %*d received, +%*d errors, %d%% packet
loss",
+ &pl) == 1
+ || sscanf
(input_buffer, "%*d
packets transmitted, %*d packets received, %d%% packet loss",
&pl) == 1
|| sscanf
------ End check_ping.c patch for RedHat ES 3.0 -------
----------------------------------------------------------------------
Comment By: Alex Burger (alex_b)
Date: 2004-06-30 19:20
Message:
Logged In: YES
user_id=85836
My testing was with Mandrake 10, not 9.2. 10 seems to have
a different output for ping. Patch 912996 should help with
the output problem, but it won't help with the STDOUT/ERR
problem.
----------------------------------------------------------------------
Comment By: Alex Burger (alex_b)
Date: 2004-06-30 19:03
Message:
Logged In: YES
user_id=85836
I am using Nagios-1.2 with nagios-plugins-1.3.1 and I am
having a similar problem.
On my Mandrake 9.2 system, host notifications for DOWN are
showing the command line instead of the plugin output
although the output for UP is correct. For example:
[1088427108] HOST ALERT: server01;DOWN;SOFT;1;/bin/ping -n
-U -c 1 server01
[1088427135] HOST NOTIFICATION:
alex;server01;DOWN;host-notify-by-email;/bin/ping -n -U -c 1
server01
[1088427305] HOST NOTIFICATION:
alex;server01;UP;host-notify-by-email;PING OK - Packet loss
= 0%, RTA = 0.28 ms
The host is using 'check-host-alive' which uses the
following command line:
/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w
5000,100% -c 5000,100% -p 1
It looks like check_ping is expecting the 'From 10.36.39.219
icmp_seq=1 Destination Host Unreachable' message to be sent
to STDERR from ping, but on my system it goes to STDOUT.
To test, I created a script that outputs to STDERR a ping
result, and changed check_ping to call my script instead:
#!/usr/bin/perl
select STDERR;
print "From 192.168.1.1 icmp_seq=1 Destination Host
Unreachable\n";
print "\n";
print "--- 192.168.1.1 ping statistics ---\n";
print "echo 1 packets transmitted, 0 received, +1 errors,
100% packet loss, time 0ms\n";
Calling check_ping, I get the correct output:
PING CRITICAL - Host Unreachable
If I changed the script by removing 'select STDERR', I get:
Error: Could not interpret output from ping command
Looking at the source code, if it can not interpret the
output it outputs the command that was executed instead, for
troubleshooting purposes I assume.
Alex
----------------------------------------------------------------------
Comment By: Pumuckel1980 (pumuckel1980)
Date: 2004-05-03 05:18
Message:
Logged In: YES
user_id=1034118
added:
here is the output of the ping command:
[root at pb3 nagios-plugins-1.4.0alpha1]# /bin/ping -n -U -c 1
192.168.1.3
PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=255 time=0.243 ms
--- 192.168.1.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.243/0.243/0.243/0.000 ms
At the moment I've test the CVS Version (1.27) of the
check_ping command. With this there is the same error like in
the "nagios-plugins-1.4.0alpha1" package.
thanks
bye
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=946857&group_id=29880
From noreply at sourceforge.net Sat Nov 20 14:45:13 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 14:45:13 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1045506 ] check_linux_raid.pl errors
Message-ID:
Bugs item #1045506, was opened at 2004-10-12 08:28
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1045506&group_id=29880
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: NOEL Sebastien (mib42)
>Assigned to: Matthew Kent (mattkent)
Summary: check_linux_raid.pl errors
Initial Comment:
check_linux_raid.pl always uses the last line of
"/proc/mdstat" for the status because there are no
break in the while
possible correction is :
while() {
if ($found) {
if (/(\[[_U]+\])/) {
$status = $1;
last ; #<== for break the while
} elsif (/recovery = (.*?)\s/) {
$recovery = $1;
($finish) = /finish=(.*?min)/;
last ; # <== for break the while
}
} else {
if (/$ARGV[0]/) {
$found = 1;
if (/active/) {
$active = 1;
}
}
}
}
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 14:44
Message:
Logged In: YES
user_id=983566
Fixed in cvs HEAD. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1045506&group_id=29880
From noreply at sourceforge.net Sat Nov 20 14:56:46 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 14:56:46 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-1055054 ] [PATCH] Fix segfauly in check_nwstat.c
Message-ID:
Bugs item #1055054, was opened at 2004-10-26 20:26
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1055054&group_id=29880
Category: None
Group: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Phil Dibowitz (jaymzh)
>Assigned to: Matthew Kent (mattkent)
Summary: [PATCH] Fix segfauly in check_nwstat.c
Initial Comment:
The attached patch fixes a segfault in check_nwstat.c.
If the script can't get netware version, it does:
asprintf(&netware_version,"");
Which despite what one would hope, actually sets the
POINTER to NULL, per a long-standing, documented bug in
the gnu library - which they keep for backwards
compatibility, best I can tell.
Anyway, in the cases where there's nothing to copy, I
simply use a strdup which prevents the segfault. Please
apply.
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 14:54
Message:
Logged In: YES
user_id=983566
Looks like this was fixed in rev 1.9. Would you be able to
try a recent snapshot?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1055054&group_id=29880
From noreply at sourceforge.net Sat Nov 20 20:58:41 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 20:58:41 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1004285 ] New plugin for checking smb mounts
Message-ID:
New Plugins item #1004285, was opened at 2004-08-05 17:27
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1004285&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ethan Galstad (egalstad)
>Assigned to: Matthew Kent (mattkent)
Summary: New plugin for checking smb mounts
Initial Comment:
This plugin was submitted by Christian Dettendorfer for
checking the availability of Windows shares.
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 20:46
Message:
Logged In: YES
user_id=983566
Moving to New Plugins
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1004285&group_id=29880
From noreply at sourceforge.net Sat Nov 20 20:59:29 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 20:59:29 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-921467 ] fping rta in ms
Message-ID:
Patches item #921467, was opened at 2004-03-22 16:10
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=921467&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Matthew Kent (mattkent)
Assigned to: Karl DeBisschop (kdebisschop)
Summary: fping rta in ms
Initial Comment:
fping's help claims to take the critical and warn rta
values in milliseconds like ping, but as we can see it
doesn't.
# ./check_fping -H pdc-pv1.pv -w 10,10% -c 100,25%
FPING OK - pdc-pv1.pv (loss=0%, rta=42.800000
ms)|loss=0%;10;25;0;100 rta=42799us;10000000;100000000;0
# ./check_ping -H pdc-pv1.pv -w 10,10% -c 100,25%
PING WARNING - Packet loss = 0%, RTA = 32.67 ms
As they always stay in 'OK' state, this sucks for
anyone like me who replaced the ping checks with fping
and didn't test the result :)
Tiny patch against version in cvs fixes the inconsistency.
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 20:48
Message:
Logged In: YES
user_id=983566
Long since fixed, sorry for not getting back to this.
----------------------------------------------------------------------
Comment By: Matthew Kent (mattkent)
Date: 2004-03-23 12:21
Message:
Logged In: YES
user_id=983566
I suppose actually attaching the diff might have helped :)
but you fixed the same 2 lines.
Thanks
----------------------------------------------------------------------
Comment By: Karl DeBisschop (kdebisschop)
Date: 2004-03-22 22:47
Message:
Logged In: YES
user_id=1671
np patch supplied, but I confirmed the bug and fixed in CVS
as best as I can tell.
Thanks for finding this, lets us know if I goofed the fix.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=921467&group_id=29880
From noreply at sourceforge.net Sat Nov 20 21:31:00 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 21:31:00 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1006777 ] Add slave check to check_mysql
Message-ID:
Patches item #1006777, was opened at 2004-08-10 11:43
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1006777&group_id=29880
Category: Enhancement
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Nathan Shafer (nicodemus)
>Assigned to: Matthew Kent (mattkent)
Summary: Add slave check to check_mysql
Initial Comment:
This patch adds a new option to the check_mysql plugin
(-S) that will check the slave status by issuing the
command "show slave status'. Additional permissions
are required for the user that check_mysql connects as.
For MySQL 4.x, the permissions 'usage' and 'super' are
required. For MySQL 3.23.x, the permissions 'usage' and
'process' are required. This patch should apply
against nagios-plugins-1.4.0alpha1 and the latest
version in CVS as of 2004-08-10.
Thanks,
Nathan Shafer
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 21:25
Message:
Logged In: YES
user_id=983566
Looks great. Tested okay and applied in HEAD. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1006777&group_id=29880
From noreply at sourceforge.net Sat Nov 20 22:36:39 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sat Nov 20 22:36:39 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1055119 ] Fix segfault in check_nwstat.c
Message-ID:
Patches item #1055119, was opened at 2004-10-27 00:09
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055119&group_id=29880
Category: Bugfix
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Phil Dibowitz (jaymzh)
>Assigned to: Matthew Kent (mattkent)
Summary: Fix segfault in check_nwstat.c
Initial Comment:
Since I wrote a patch for the bug I reported in bug
1055054, I thought perhaps I should post it here as well...
>From the Bug Report:
The attached patch fixes a segfault in check_nwstat.c.
If the script can't get netware version, it does:
asprintf(&netware_version,"");
Which despite what one would hope, actually sets the
POINTER to NULL, per a long-standing, documented bug in
the gnu library - which they keep for backwards
compatibility, best I can tell.
Anyway, in the cases where there's nothing to copy, I
simply use a strdup which prevents the segfault. Please
apply.
- Phil
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-20 20:45
Message:
Logged In: YES
user_id=983566
See response to Bug # 1055054 you submitted.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1055119&group_id=29880
From benoit.mortier at opensides.be Sun Nov 21 05:38:33 2004
From: benoit.mortier at opensides.be (Benoit Mortier)
Date: Sun Nov 21 05:38:33 2004
Subject: [Nagiosplug-devel] Announcement regarding nagiosplug 1.4 release
In-Reply-To: <34AF3FD6-3B16-11D9-A216-000A95D47298@mac.com>
References: <9F13DF6C-396B-11D9-A216-000A95D47298@mac.com> <200411191708.22445.benoit.mortier@opensides.be> <34AF3FD6-3B16-11D9-A216-000A95D47298@mac.com>
Message-ID: <200411211428.46872.benoit.mortier@opensides.be>
Le samedi 20 Novembre 2004 18:04, vous avez ?crit?:
> Benoit,
>
> Thank you for your offer of helping. I will look into giving you CVS
> access for the translational files, but unfortunately I do not fully
> understand how it works at the moment. Do you just need access to
> update the po/*.po files?
i don't know ;-) i will look a translation tonight and see was the status, i
will also write a little manual to help the translator ...
> Also, as we are only just starting to populate more of the
> translations, please let us know if there is anything that the
> developers can help with (eg, reusing similar messages, duplication of
> messsages, etc).
yes maybe we can use catalog of translation already done like the one in
the kde project, this will help us standardize the message, alway format
them in the same format etc..
Will look a this
Have a nice day
--
Benoit Mortier
OpenSides sprl
Linux Engineer
From ymettier at libertysurf.fr Sun Nov 21 13:34:19 2004
From: ymettier at libertysurf.fr (Yves Mettier)
Date: Sun Nov 21 13:34:19 2004
Subject: [Nagiosplug-devel] Re: Translations and gettext
In-Reply-To:
References:
Message-ID: <51621.192.168.3.65.1101072719.squirrel@192.168.3.65>
Hi :)
> Message: 2
> Cc: nagiosplug-devel at lists.sourceforge.net
> From: Ton Voon
> Subject: Re: [Nagiosplug-devel] Translations and gettext
> Date: Sat, 20 Nov 2004 07:15:05 +0000
> To: ymettier at perfparse.org
>
>>> 3. Scripts aren't translated, so the usefulness is somewhat crippled.
>>
>> True, but there was demand for translated output and I think that a
>> translational ability is overall A Good Thing.
>>
>
> I would rather have conformity. I wouldn't want some checks to output
> english and some others to output swedish. Besides, the target audience
> (network admins) are usually required to speak english to do their job
> anyway.
When you have 1 or 2 languages, you can consider doing checks with the other languages.
But when you have 10 or 20 other languages, forget about the tests, and let the
translators and users do the tests.
If the code is clean, there should be no problem with translations. By clean, I have a
special thought to buffers with limited size :
char str[15];
snprintf(str, 15, _("Some content"));
This should be avoided since the translation can be longer.
Here, the program should not crash (notice the use of snprintf instead of sprintf). But
the translation should not fit : "Un contenu quelconque" in French is longer :)
Besides this, that the translator can notice and ask for a change in the code, there
should be no problem.
> --__--__--
>
> Message: 4
> Cc: nagiosplug-devel at lists.sourceforge.net
> From: Ton Voon
> Subject: Re: [Nagiosplug-devel] Translations and gettext
> Date: Sat, 20 Nov 2004 16:56:38 +0000
> To: Andreas Ericsson
>> I would rather have conformity. I wouldn't want some checks to output
>> english and some others to output swedish. Besides, the target
>> audience (network admins) are usually required to speak english to do
>> their job anyway.
Target audience : in short companies, yes. In bigger, definitely not.
Some big companies can have a service for installation of the software (nagios,
plugins...) with good sysadmins who speak their language and very good English.
And they can have another service, who just watch the nagios user interface, and when
it's red, read the message and call the service who can solve the problem if they cannot
do it themselves.
That audience is the one that really use the tool, read the messages from the plugins.
Those guys, at least in France, are usually not good in English.
> --__--__--
>
> Message: 5
> Cc: NagiosPlug Devel
> From: Ton Voon
> Subject: Re: [Nagiosplug-devel] Announcement regarding nagiosplug 1.4 release
> Date: Sat, 20 Nov 2004 17:04:14 +0000
> To: Benoit Mortier
>
> Benoit,
>
> Thank you for your offer of helping. I will look into giving you CVS=20
> access for the translational files, but unfortunately I do not fully=20
> understand how it works at the moment. Do you just need access to=20
> update the po/*.po files?
I let Benoit give his own answer.
But when somebody offers to translate one of my projects, I make a change myself in
configure.ac (update the line ALL_LINGUAS with the new language), generate a new file
po/LL.po (replace LL with the language abbreviation), test if everything successfully
compiles with the new language, and when OK, the person who wish to help with the
translation only have to edit po/LL.po.
I use ALL_LINGUAS in configure.ac. There is another way to do it : have a file
po/LINGUAS where you put all the translated languages.
Well, if you need help on the programmer's side or on the maintainer's side for C
plugins or autotools, I can have a look. I can also translate few strings in French if
needed, but I'm very bad in translations, that's why I let Benoit do the job for French
:)
> Also, as we are only just starting to populate more of the=20
> translations, please let us know if there is anything that the=20
> developers can help with (eg, reusing similar messages, duplication of=20=
> messsages, etc).
You should not have problems with duplication of messages : gettext do the job for you.
For reusing similar messages, have a look here :
http://www.gnu.org/software/gettext/manual/html_chapter/gettext_6.html#SEC54
I have never played with that. I cannot help more on translation :)
I found 2 interesting URLS if you have time to have a look :
GNU Translation Project (with a link to "equipe francaise")
http://www2.iro.umontreal.ca/~gnutra/po/HTML/
Translation HOWTO (for the Gnucash project)... can easily be adapted to any project :
http://www.gnucash.org/trans/TRANSLATION_HOWTO
Yves
--
- Homepage - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key - http://ymettier.free.fr/gpg.txt -
- Maitretarot - http://www.nongnu.org/maitretarot/ -
- Perfparse - http://perfparse.sf.net/ -
From Stanley.Hopcroft at IPAustralia.Gov.AU Sun Nov 21 15:32:07 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Sun Nov 21 15:32:07 2004
Subject: [Nagiosplug-devel] Re: Native plugins (was Re: Java Plugins)
In-Reply-To: <20041119184447.GO642@Jos-Vissers-Computer.local>
References: <2B38F3058AA1AF4884AADC7B0E89D89B023734@sslc2k3ex01.msg.albertsons.com> <20041119184447.GO642@Jos-Vissers-Computer.local>
Message-ID: <20041121232710.GA20394@IPAustralia.Gov.AU>
Dear Gentlemen,
I am writing to thank you for your letters and say,
On Fri, Nov 19, 2004 at 07:44:47PM +0100, Jos Visser wrote:
> I would like to venture the guess that the environment that Nagios runs
> in does not contain the PATH, CLASSPATH, SHLIB_PATH, JAVA_HOME or other
> relevant environment variables.
>
this is almost certainly the clue for this particular instance of an
FAQ problem.
The problem is obviously not Java specific, but related to the
difference between the CLI environment and that Nagios creates to run
the plugins (different user etc etc).
> ++Jos.es
>
> On Fri, Nov 19, 2004 at 09:47:02AM -0700 it came to pass that David Robinson wrote:
> > Does anyone on this thread have any experience writing plugins in Java?
.. snip ..
> > When I execute my draft Java plugins from the command line as the Nagios
> > user, I get correct output to STDOUT and correct exit codes ... for
> > example:
> >
> > sh-2.05$ whoami
> >
> > nagios
> >
> > sh-2.05$ /home/bea/jdk141_05/bin/java -classpath
> > /usr/lib/nagios/bea_jars/813/weblogic.jar:/usr/lib/nagios/plugins_custom
> > /wls8nagios.jar com.albertsons.nagios.WLS8ThreadMonitor -H lnx074 -P
> > 9193 -u beaprod -p want2gohome -D absCommonWLI -S absCommonWLIMngd1 -M
> > weblogic.kernel.Default
> >
> > THREADS OK: 1 thread(s) used out of 100
> >
> > sh-2.05$ echo $?
> >
> > 0
> >
> > When the same plugin is called from the Nagios process I receive a
> > message such as below in the nagios.log file:
> >
> > [1100884674] SERVICE ALERT: lnx112;WLS-812-THREADS;WARNING;SOFT;2;(No
> > output!)
> >
> > Any idea why I am not receiving any output? I am writing the status
> > message using System.out.println("THREADS ..."); and
> > System.exit(EXIT_CODE);
> >
You can nail this sort of plugin error (Ok from CLI, '(No output!)' from
Nagios) in two ways :-
1 Plugin wrapper
write a script which is called by Nag instead of the problem plugin.
The script should
1.1 Run the plugin
1.2 Capture the plugin output and return code (in the
manner you have shown from the CLI if you write the wrapper in
/bin/sh) and anything else (eg $@) useful to debug the problem
1.3 Append it to a file, output it to syslog etc.
2 With a test Nagios
2.1 gen a new Nag with --enable-DEBUG[whatever]
2.2 gen a stripped down config that runs the prob plugin at a high rate
2.3 install in a private dir
2.4 run Nag from foreground and watch the debug messages
Having said that, Mr Visser has almost certainly got the answer for you.
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL:
From benoit.mortier at opensides.be Sun Nov 21 15:41:54 2004
From: benoit.mortier at opensides.be (Benoit Mortier)
Date: Sun Nov 21 15:41:54 2004
Subject: [Nagiosplug-devel] Re: Translations and gettext
In-Reply-To: <51621.192.168.3.65.1101072719.squirrel@192.168.3.65>
References: <51621.192.168.3.65.1101072719.squirrel@192.168.3.65>
Message-ID: <200411212336.14490.benoit.mortier@opensides.be>
Le dimanche 21 Novembre 2004 22:31, Yves Mettier a ?crit?:
> Hi :)
Hello ;-)
> If the code is clean, there should be no problem with translations. By
> clean, I have a special thought to buffers with limited size :
> char str[15];
> snprintf(str, 15, _("Some content"));
> This should be avoided since the translation can be longer.
> Here, the program should not crash (notice the use of snprintf instead of
> sprintf). But the translation should not fit : "Un contenu quelconque" in
> French is longer :)
yes french is always longer by one third at least ;-)
> Besides this, that the translator can notice and ask for a change in the
> code, there should be no problem.
or if they can just submit a patch ;-)
> >> I would rather have conformity. I wouldn't want some checks to output
> >> english and some others to output swedish. Besides, the target
> >> audience (network admins) are usually required to speak english to do
> >> their job anyway.
>
> Target audience : in short companies, yes. In bigger, definitely not.
>
> Some big companies can have a service for installation of the software
> (nagios, plugins...) with good sysadmins who speak their language and
> very good English. And they can have another service, who just watch the
> nagios user interface, and when it's red, read the message and call the
> service who can solve the problem if they cannot do it themselves.
> That audience is the one that really use the tool, read the messages from
> the plugins. Those guys, at least in France, are usually not good in
> English.
Exactly a lot of sysadmins a know are to busy and know to little to try to
understand another language they want the tool in there native tongue.
> > Benoit,
> >
> > Thank you for your offer of helping. I will look into giving you CVS=20
> > access for the translational files, but unfortunately I do not fully=20
> > understand how it works at the moment. Do you just need access to=20
> > update the po/*.po files?
>
> I let Benoit give his own answer.
Yes, normaly we just need cvs access thethe po files, if i want to correct
some other thing in the code i can always send a patch.
> Well, if you need help on the programmer's side or on the maintainer's
> side for C plugins or autotools, I can have a look. I can also translate
> few strings in French if needed, but I'm very bad in translations, that's
> why I let Benoit do the job for French
thanks, i can also help with th c language if needed ;-)
> I found 2 interesting URLS if you have time to have a look :
> GNU Translation Project (with a link to "equipe francaise")
> http://www2.iro.umontreal.ca/~gnutra/po/HTML/
>
> Translation HOWTO (for the Gnucash project)... can easily be adapted to
> any project : http://www.gnucash.org/trans/TRANSLATION_HOWTO
I will look a it thanks
--
Benoit Mortier
OpenSides sprl
Linux Engineer
From benoit.mortier at opensides.be Sun Nov 21 15:44:12 2004
From: benoit.mortier at opensides.be (Benoit Mortier)
Date: Sun Nov 21 15:44:12 2004
Subject: [Nagiosplug-devel] french translations, first pass, some questions, first cleanup
Message-ID: <200411220038.34183.benoit.mortier@opensides.be>
Hi,
just a little note after a first pass on the fr.po.
- the copyright should no be localized.
- Inside of the short help command should not be localized
\n
Utilisation: %s [-f46] [-t timeout] [-i identity] [-l user] -H \n
-C [-n name] [-s servicelist] [-O outputfile] [-p port]\n
only the first word has been localized
Liste of item that shouldn't be localized
Copyright items
#: plugins/check_dig.c:324 plugins/urlize.c:132
#: plugins/check_disk.c:575 plugins/check_dns.c:394 plugins/check_dummy.c:89
#: plugins/check_hpjd.c:381 plugins/check_http.c:1366
plugins/check_mrtg.c:311
#: plugins/check_mrtgtraf.c:323 plugins/check_nwstat.c:909
#: plugins/check_overcr.c:423 plugins/check_tcp.c:606
#: plugins/check_fping.c:365
#: plugins/check_game.c:73
#: plugins/check_ldap.c:286
#: plugins/check_load.c:306
#: plugins/check_ping.c:509 plugins/check_procs.c:591
#: plugins/check_radius.c:287
#: plugins/check_real.c:406
#: plugins/check_smtp.c:429
#: plugins/check_ssh.c:236
#: plugins/check_time.c:328 plugins/check_udp.c:225
plugins/check_users.c:195
#: plugins/check_ups.c:573
Only a dot ???
#: plugins/check_nt.c:145
ShowAll, ShowFail
I don't think that should be localized ??
#: plugins/check_nt.c:242
#: plugins/check_nt.c:242
Only % ??
#: plugins/check_nt.c:319
Message that sould be only translated once, and one phrase should be chosen:
Unable to open pipe: %s / Could not open pipe: %s\n
timeout interval must be an integer / Timeout Interval must be an integer!\n
invalid host name / Invalid host name
Have a nice day
--
Benoit Mortier
OpenSides sprl
Linux Engineer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fr.po.tar.bz2
Type: application/x-tbz
Size: 21901 bytes
Desc: not available
URL:
From Stanley.Hopcroft at IPAustralia.Gov.AU Sun Nov 21 22:12:21 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Sun Nov 21 22:12:21 2004
Subject: [Nagiosplug-devel] RFC adding functions to utils.pm
Message-ID: <20041122061119.GD20394@IPAustralia.Gov.AU>
Dear Folks,
I would like to add two functions to utils.pm
sub tethereal2str ($$) # two scalar args
sub dump ($) # one scalar arg
tethereal2str($$) takes a string containing a 'tethereal' trace of one
network packet and a string containing a hex byte and returns the
string from that hex byte til the end of the trace, formatted as a Perl
scalar containing a string of characters corresponding to the hex codes
found in the trace.
This function is used by check_citrix and check_lotus (/contrib) to
replay a packet to simulate some part of a real clients interaction with
the server (this is only useful for protocols such as ICA and Lotus
Notes that are both proprietary [& undocumented] and binary).
dump($) takes a scalar containing a string and outputs in the
tethereal/hexdump -C style.
Ratioanale:
These functions are part of _two_ contributed (one of which at least is
used) plugins that currently duplicate this code. Code duplication leads
to inconsistency and minimises re-use.
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
From noreply at sourceforge.net Sun Nov 21 22:31:06 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sun Nov 21 22:31:06 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-990876 ] check_citrix help
Message-ID:
Support Requests item #990876, was opened at 2004-07-14 14:03
Message generated for change (Settings changed) made by stanleyhopcroft
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=990876&group_id=29880
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: stiletto23 (stiletto23)
Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: check_citrix help
Initial Comment:
Hello, I need some help with the check_citrix plugin. I
have the Nagios command setup as follows:
$USER$/check_citrix -C $HOSTADDRESS$ -P published1
>From command window on the Nagios host this returns:
"Ok. Citrix master browser "10.20.xx.xx" reported that
the published application "published1" is available."
But when the command above is exectuded by Nagios it
returns a "Warning - (No output).
Hopefully I am just not doing something very simple.
Any help would be appreciated, I would like to be able to
monitor my Citrix boxes more completely.
Thanks.
-stiletto
----------------------------------------------------------------------
Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-09-16 12:08
Message:
Logged In: YES
user_id=395628
Dear Stiletto and Darren Hobbs,
More info is needed before any help can be offered since
(No ouptut!)
if that's is what you are seeing - it is a CRITICAL alert IIRC.
What is required has been posted to Nagios-users in the last
4 hours; in a nutshell you need to get _all_ the output by
wrapping the plugin in a shell script that redirects STDERR
to STDOUT.
HTH.
You are welcome to correspond directly with me about this;
email address from Nag users.
Stanley Hopcroft.
----------------------------------------------------------------------
Comment By: Dale Hobbs (dhobbs)
Date: 2004-09-15 18:10
Message:
Logged In: YES
user_id=1116017
I'm having this problem as well. I haven't been able to figure it
out yet either
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=990876&group_id=29880
From noreply at sourceforge.net Sun Nov 21 22:32:38 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sun Nov 21 22:32:38 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-694259 ] Cannot map "tcp" to protocol number
Message-ID:
Support Requests item #694259, was opened at 2003-02-27 09:50
Message generated for change (Settings changed) made by stanleyhopcroft
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
Category: Install Problem (example)
Group: v1.0 (example)
Status: Open
Priority: 5
Submitted By: Alexander Wolters (diamondlink)
>Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: Cannot map "tcp" to protocol number
Initial Comment:
after installing the NSClient and configuring the
Service, I get that error message: "Cannot map "tcp" to
protocol number"
I'm using the default Port 1248.
Can anybody help me please?!
The documentation for the plugin sucks realy.... and I
can't find any other documentation or help on the web :-(
Thanks in advanced
----------------------------------------------------------------------
Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-12 19:54
Message:
Logged In: YES
user_id=10485
Is this still an issue with 1.3.0 final release? Has it been tested
and confirmed as still being a problem with CVS version?
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 10:17
Message:
Logged In: YES
user_id=721439
nagios-1.0
nagios-plugins-1.3.0.b2
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 10:02
Message:
Logged In: YES
user_id=721439
It's FreeBSD 5.0
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 09:39
Message:
Logged In: YES
user_id=721439
I'm getting the error message @ the unix machine
----------------------------------------------------------------------
Comment By: Subhendu Ghosh (sghosh)
Date: 2003-02-27 16:19
Message:
Logged In: YES
user_id=46572
where are you getting the error? on the windows machine or
on the unix machine?
What versions are you running?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
From noreply at sourceforge.net Sun Nov 21 22:32:59 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sun Nov 21 22:32:59 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-1043798 ] check_citrix issues
Message-ID:
Support Requests item #1043798, was opened at 2004-10-10 01:28
Message generated for change (Settings changed) made by stanleyhopcroft
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1043798&group_id=29880
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: resistor3672 (resistor3672)
>Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: check_citrix issues
Initial Comment:
I ran into these issues using the check_citrix plugin, so
I'll share them here in the hopes that they will allow the
continued development of the plugin and of the
excellent Nagios package.
Issue 1) Lots of applications to look for
If one has a large number of apps to look for, one should
split the seach into multiple services and have each
service look for a subset. The danger is that the buffer
used to hold all the search string will overflow, and
Nagios 1.2 will seg fault. One can alternatively try
increasing the buffer size in the plugin, and use the -L
option, but even so I still hit the seg fault after a couple
of dozen apps.
Issue 2) Lots of apps in the list
The plugin returns the application list on errors. If this
list exceeds the default nagios return buffer, the plugin
will behave strangely. I had it returning an OK status in
nagios (green) and showing the "Failed: " string in
status information. I assume this is due to a lack of
buffer error checking in Nagios (can that be fixed?). I
simply removed the print statements that show the list
on errors, and while it is less informative, it still tells me
when an application is missing from the list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1043798&group_id=29880
From noreply at sourceforge.net Sun Nov 21 22:40:36 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sun Nov 21 22:40:36 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-694259 ] Cannot map "tcp" to protocol number
Message-ID:
Support Requests item #694259, was opened at 2003-02-27 09:50
Message generated for change (Comment added) made by stanleyhopcroft
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
Category: Install Problem (example)
Group: v1.0 (example)
Status: Open
Priority: 5
Submitted By: Alexander Wolters (diamondlink)
Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: Cannot map "tcp" to protocol number
Initial Comment:
after installing the NSClient and configuring the
Service, I get that error message: "Cannot map "tcp" to
protocol number"
I'm using the default Port 1248.
Can anybody help me please?!
The documentation for the plugin sucks realy.... and I
can't find any other documentation or help on the web :-(
Thanks in advanced
----------------------------------------------------------------------
>Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-11-22 06:36
Message:
Logged In: YES
user_id=395628
Dear Diamond link,
Firstly, sorry for the slow response; thanks for your patience.
A recent question on Nag users about this matter was caused
by a bad libc (IIRC).
http://article.gmane.org/gmane.network.nagios.user/24992/match=++map+protocol
Is this any help ?
If not, is tcp in /etc/protocols ?
HTH,
Yours sincerely.
----------------------------------------------------------------------
Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-12 19:54
Message:
Logged In: YES
user_id=10485
Is this still an issue with 1.3.0 final release? Has it been tested
and confirmed as still being a problem with CVS version?
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 10:17
Message:
Logged In: YES
user_id=721439
nagios-1.0
nagios-plugins-1.3.0.b2
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 10:02
Message:
Logged In: YES
user_id=721439
It's FreeBSD 5.0
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 09:39
Message:
Logged In: YES
user_id=721439
I'm getting the error message @ the unix machine
----------------------------------------------------------------------
Comment By: Subhendu Ghosh (sghosh)
Date: 2003-02-27 16:19
Message:
Logged In: YES
user_id=46572
where are you getting the error? on the windows machine or
on the unix machine?
What versions are you running?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
From noreply at sourceforge.net Sun Nov 21 23:36:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Sun Nov 21 23:36:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-694259 ] Cannot map "tcp" to protocol number
Message-ID:
Support Requests item #694259, was opened at 2003-02-27 10:50
Message generated for change (Comment added) made by sb-netman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
Category: Install Problem (example)
Group: v1.0 (example)
Status: Open
Priority: 5
Submitted By: Alexander Wolters (diamondlink)
Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: Cannot map "tcp" to protocol number
Initial Comment:
after installing the NSClient and configuring the
Service, I get that error message: "Cannot map "tcp" to
protocol number"
I'm using the default Port 1248.
Can anybody help me please?!
The documentation for the plugin sucks realy.... and I
can't find any other documentation or help on the web :-(
Thanks in advanced
----------------------------------------------------------------------
Comment By: Simon Bellwood (sb-netman)
Date: 2004-11-22 08:30
Message:
Logged In: YES
user_id=1156501
The problem is that a nice port number like "1248" is used
by a few applications. It was a bad choice for a default.
Microsoft Exchange uses it, something called "hermes" uses
it, and possible AppleTalk too.
You need to change the port number by editing the registry.
See \HKEY_LOCAL_MACHINE\SOFTWARE\NSClient
We (as Nagios) should probably consider changing the default
port number. Port 2151 looks free.
----------------------------------------------------------------------
Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2004-11-22 07:36
Message:
Logged In: YES
user_id=395628
Dear Diamond link,
Firstly, sorry for the slow response; thanks for your patience.
A recent question on Nag users about this matter was caused
by a bad libc (IIRC).
http://article.gmane.org/gmane.network.nagios.user/24992/match=++map+protocol
Is this any help ?
If not, is tcp in /etc/protocols ?
HTH,
Yours sincerely.
----------------------------------------------------------------------
Comment By: Jeremy T. Bouse (undrgrid)
Date: 2003-03-12 20:54
Message:
Logged In: YES
user_id=10485
Is this still an issue with 1.3.0 final release? Has it been tested
and confirmed as still being a problem with CVS version?
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 11:17
Message:
Logged In: YES
user_id=721439
nagios-1.0
nagios-plugins-1.3.0.b2
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 11:02
Message:
Logged In: YES
user_id=721439
It's FreeBSD 5.0
----------------------------------------------------------------------
Comment By: Alexander Wolters (diamondlink)
Date: 2003-02-28 10:39
Message:
Logged In: YES
user_id=721439
I'm getting the error message @ the unix machine
----------------------------------------------------------------------
Comment By: Subhendu Ghosh (sghosh)
Date: 2003-02-27 17:19
Message:
Logged In: YES
user_id=46572
where are you getting the error? on the windows machine or
on the unix machine?
What versions are you running?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=694259&group_id=29880
From stephane.urbanovski at ac-nancy-metz.fr Mon Nov 22 00:41:47 2004
From: stephane.urbanovski at ac-nancy-metz.fr (Stephane URBANOVSKI)
Date: Mon Nov 22 00:41:47 2004
Subject: [Nagiosplug-devel] Translations and gettext
In-Reply-To: <253305F6-3B15-11D9-A216-000A95D47298@mac.com>
References: <419DC86C.8080203@op5.se> <36E925A4-3A2D-11D9-A216-000A95D47298@mac.com> <419F135C.607@op5.se> <253305F6-3B15-11D9-A216-000A95D47298@mac.com>
Message-ID: <41A1A52F.3030707@ac-nancy-metz.fr>
Ton Voon a ?crit :
> Yves Mettier has implemented translations in his performance graphing
> tools. Benoit Mortier has offered to help translate. I count this as two
> votes, and that's only in the last few days. There have been requests
> before, although admittedly some time ago.
I'm also planning to help with french translations and may be more (like perl plugins : http://cvs.orion.education.fr/cgi-bin/viewcvs.cgi/racvision/src/nagios-plugins-perl/nagios-plugins-perl/plugins/ )
So ... 3 votes :-)
I have no real problems to read english reported by current plugins, but some of this reports are send to poeple that are not as comfortable as me.
And you may see that my english skill is not very high
--
St?phane Urbanovski
From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Nov 22 02:03:05 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Mon Nov 22 02:03:05 2004
Subject: [Nagiosplug-devel] Re: Perl guidelines - other patches to Perl section of devel guidelines
Message-ID: <20041122100205.GA21530@IPAustralia.Gov.AU>
Dear Folks,
Please find attached trival patch to the developer guidelines Perl
plugin section.
Manure removal only (much of it originated from me).
Yours sincerely.
--
Stanley Hopcroft
Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189 Fax: (02) 6281 1353
PO Box 200 Woden ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
--- developer-guidelines.html Mon Nov 22 15:44:02 2004
+++ developer-guidelines.html.orig Mon Nov 22 13:34:44 2004
@@ -1033,7 +1033,7 @@
>To use utils.pm, you need to provide a full path to the
- module in order for it to work.
e.g.
@@ -1058,14 +1058,11 @@
>
Do not use <DATA> file handles (these simply do not compile under ePN).
Do not use > DATA < (these simply do not compile under ePN).
Do not use global variables in subroutines.
-
-This is bad practise anyway, but with ePN the plugin may return a warning or error "<global_var> won't stay shared" (because the subroutine becomes a closure with ePN).
-
Do not use named subroutinesalarm is recommended, noting that some modules such as LWP manage their own timers using alarm. In that case, your alarm will be overwritten by the module.
+> is recommended.
Plugins may import a default time out ($TIMEOUT) from utils.pm.