From james at higley.net Mon Aug 2 09:57:00 2004
From: james at higley.net (James Higley)
Date: Mon Aug 2 09:57:00 2004
Subject: [Nagiosplug-devel] check_mailq and errors
Message-ID: <1091458729.27456.28.camel@jabber.higley.net>
I'm having some problems with the latest CVS check_mailq
Running the script I get
Duplicate specification "Warning=i" for option "warning"
Duplicate specification "Critical=i" for option "critical"
and then the output.
i.e.
./check_mailq -w 10 -c 20 -M postfix
Duplicate specification "Warning=i" for option "warning"
Duplicate specification "Critical=i" for option "critical"
CRITICAL: mailq is 40 (threshold c = 20)|unsent=40;10;20;0
This causes an error when running checks. Can anyone explain these Dup
errors or a way around them?
SuSE 9.1. Profession
perl -v
This is perl, v5.8.3 built for i586-linux-thread-multi
Hope that helps.
Thanks in advance!
-James
From noreply at sourceforge.net Wed Aug 4 11:11:03 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 4 11:11:03 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-939170 ] check_yum - Check if YUM/RPM based system is up-to-date
Message-ID:
New Plugins item #939170, was opened at 2004-04-21 02:23
Message generated for change (Comment added) made by egunnett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: G. Krist (g_krist)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_yum - Check if YUM/RPM based system is up-to-date
Initial Comment:
check_yum does a check to see if a system is up-to-date
with all updates/patches. It's using the "yum
check-update" command on either local host or remote
hosts (using nrpe). It has 3 levels of return text:
1) Server is up-to-date (no updates available)
2) Server is NOT up-to-date, xxx packages etc (There
are updates, will be a Criticical error)
3) Something wrong with yum etc etc (something is wrong
with yum, will be a warning)
IMHO there is no need for -w or -c parameters not even
possible i think :D
note:
I would like to see some feedback, i'm already using it
for like 10 servers, it worked oke here. We run it once
a day.
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 11:10
Message:
Logged In: YES
user_id=1039116
Have added this to 40 servers. Found that I have 2 RPMs to
be updated and it is still saying that the servers are okay and
have not updates?
Did not see any flags to pass to the module.
-Eric
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-05-08 00:46
Message:
Logged In: YES
user_id=1025858
Oke somehow check_yum was always reporting that there was 1
package to be updated (IF the system was not up2date
ofcourse). I fixed that in this release.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-04-21 08:20
Message:
Logged In: YES
user_id=1025858
0.3 is using the exit codes from yum now!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
From noreply at sourceforge.net Wed Aug 4 11:26:04 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 4 11:26:04 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-939170 ] check_yum - Check if YUM/RPM based system is up-to-date
Message-ID:
New Plugins item #939170, was opened at 2004-04-21 03:23
Message generated for change (Comment added) made by g_force
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: G. Krist (g_krist)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_yum - Check if YUM/RPM based system is up-to-date
Initial Comment:
check_yum does a check to see if a system is up-to-date
with all updates/patches. It's using the "yum
check-update" command on either local host or remote
hosts (using nrpe). It has 3 levels of return text:
1) Server is up-to-date (no updates available)
2) Server is NOT up-to-date, xxx packages etc (There
are updates, will be a Criticical error)
3) Something wrong with yum etc etc (something is wrong
with yum, will be a warning)
IMHO there is no need for -w or -c parameters not even
possible i think :D
note:
I would like to see some feedback, i'm already using it
for like 10 servers, it worked oke here. We run it once
a day.
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 12:25
Message:
Logged In: YES
user_id=197417
I can see a need for -w and -c. Perhaps I want to know when
updated 'Frozen Bubble' packages are available, but don't
need to update them right away. I might want to pass a list
of such apps to the -w flag.
However, when Apache or OpenSSH packages are out of
date, I would want to generate a critical message, as there
could be security issues on my server that need to be
updated right away. So, these would be passed to the -c flag.
Perhaps nothing would need to be passed to -w, only -c,
anything not passed to -c would default to warning. Or
perhaps both could be specified, and anything else would
generate an unknown?
Just some thoughts... I don't even use Yum. I would however
be interested in seeing a similar plugin for APT. Is this
available or in the works? I'm guessing that it wouldn't be too
difficult to convert what you have for Yum, which I might
tackle if I get some spare time and can't find an existing
plugin. Perhaps you could make your plugin accept an
argument to check Yum or APT, depending on user
preferences?
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 12:10
Message:
Logged In: YES
user_id=1039116
Have added this to 40 servers. Found that I have 2 RPMs to
be updated and it is still saying that the servers are okay and
have not updates?
Did not see any flags to pass to the module.
-Eric
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-05-08 01:46
Message:
Logged In: YES
user_id=1025858
Oke somehow check_yum was always reporting that there was 1
package to be updated (IF the system was not up2date
ofcourse). I fixed that in this release.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-04-21 09:20
Message:
Logged In: YES
user_id=1025858
0.3 is using the exit codes from yum now!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
From noreply at sourceforge.net Wed Aug 4 12:27:05 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 4 12:27:05 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-939170 ] check_yum - Check if YUM/RPM based system is up-to-date
Message-ID:
New Plugins item #939170, was opened at 2004-04-21 11:23
Message generated for change (Comment added) made by g_krist
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: G. Krist (g_krist)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_yum - Check if YUM/RPM based system is up-to-date
Initial Comment:
check_yum does a check to see if a system is up-to-date
with all updates/patches. It's using the "yum
check-update" command on either local host or remote
hosts (using nrpe). It has 3 levels of return text:
1) Server is up-to-date (no updates available)
2) Server is NOT up-to-date, xxx packages etc (There
are updates, will be a Criticical error)
3) Something wrong with yum etc etc (something is wrong
with yum, will be a warning)
IMHO there is no need for -w or -c parameters not even
possible i think :D
note:
I would like to see some feedback, i'm already using it
for like 10 servers, it worked oke here. We run it once
a day.
----------------------------------------------------------------------
>Comment By: G. Krist (g_krist)
Date: 2004-08-04 21:26
Message:
Logged In: YES
user_id=1025858
Oke seems I forgot something to tell. Indeed check_yum
doesn't work correct. Why? nrpe remote can't run yum
check-update because it needs root for that. The problem
only occurs when there are new header files to be downloaded.
I found a work-a-round for it (he it's better then playing
with suid!).
- open/create /etc/cron.hourly/yumupdatedb
- put the following lines of text in it:
#!/bin/sh
/usr/bin/yum check-update
- save file
- make it +x (executable)
This way it will work!
@g_force
I could make an apt one, but i don't have apt boxes laying
around. You can help me with that?
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 20:25
Message:
Logged In: YES
user_id=197417
I can see a need for -w and -c. Perhaps I want to know when
updated 'Frozen Bubble' packages are available, but don't
need to update them right away. I might want to pass a list
of such apps to the -w flag.
However, when Apache or OpenSSH packages are out of
date, I would want to generate a critical message, as there
could be security issues on my server that need to be
updated right away. So, these would be passed to the -c flag.
Perhaps nothing would need to be passed to -w, only -c,
anything not passed to -c would default to warning. Or
perhaps both could be specified, and anything else would
generate an unknown?
Just some thoughts... I don't even use Yum. I would however
be interested in seeing a similar plugin for APT. Is this
available or in the works? I'm guessing that it wouldn't be too
difficult to convert what you have for Yum, which I might
tackle if I get some spare time and can't find an existing
plugin. Perhaps you could make your plugin accept an
argument to check Yum or APT, depending on user
preferences?
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 20:10
Message:
Logged In: YES
user_id=1039116
Have added this to 40 servers. Found that I have 2 RPMs to
be updated and it is still saying that the servers are okay and
have not updates?
Did not see any flags to pass to the module.
-Eric
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-05-08 09:46
Message:
Logged In: YES
user_id=1025858
Oke somehow check_yum was always reporting that there was 1
package to be updated (IF the system was not up2date
ofcourse). I fixed that in this release.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-04-21 17:20
Message:
Logged In: YES
user_id=1025858
0.3 is using the exit codes from yum now!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
From noreply at sourceforge.net Wed Aug 4 12:59:10 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 4 12:59:10 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-939170 ] check_yum - Check if YUM/RPM based system is up-to-date
Message-ID:
New Plugins item #939170, was opened at 2004-04-21 03:23
Message generated for change (Comment added) made by g_force
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: G. Krist (g_krist)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_yum - Check if YUM/RPM based system is up-to-date
Initial Comment:
check_yum does a check to see if a system is up-to-date
with all updates/patches. It's using the "yum
check-update" command on either local host or remote
hosts (using nrpe). It has 3 levels of return text:
1) Server is up-to-date (no updates available)
2) Server is NOT up-to-date, xxx packages etc (There
are updates, will be a Criticical error)
3) Something wrong with yum etc etc (something is wrong
with yum, will be a warning)
IMHO there is no need for -w or -c parameters not even
possible i think :D
note:
I would like to see some feedback, i'm already using it
for like 10 servers, it worked oke here. We run it once
a day.
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 13:58
Message:
Logged In: YES
user_id=197417
I might be able to help. Although my time is limited right now.
I'll look at the plugin this week if I can. If I can work
something out, either as a patch or a separate plugin, I'll let
you know.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-08-04 13:26
Message:
Logged In: YES
user_id=1025858
Oke seems I forgot something to tell. Indeed check_yum
doesn't work correct. Why? nrpe remote can't run yum
check-update because it needs root for that. The problem
only occurs when there are new header files to be downloaded.
I found a work-a-round for it (he it's better then playing
with suid!).
- open/create /etc/cron.hourly/yumupdatedb
- put the following lines of text in it:
#!/bin/sh
/usr/bin/yum check-update
- save file
- make it +x (executable)
This way it will work!
@g_force
I could make an apt one, but i don't have apt boxes laying
around. You can help me with that?
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 12:25
Message:
Logged In: YES
user_id=197417
I can see a need for -w and -c. Perhaps I want to know when
updated 'Frozen Bubble' packages are available, but don't
need to update them right away. I might want to pass a list
of such apps to the -w flag.
However, when Apache or OpenSSH packages are out of
date, I would want to generate a critical message, as there
could be security issues on my server that need to be
updated right away. So, these would be passed to the -c flag.
Perhaps nothing would need to be passed to -w, only -c,
anything not passed to -c would default to warning. Or
perhaps both could be specified, and anything else would
generate an unknown?
Just some thoughts... I don't even use Yum. I would however
be interested in seeing a similar plugin for APT. Is this
available or in the works? I'm guessing that it wouldn't be too
difficult to convert what you have for Yum, which I might
tackle if I get some spare time and can't find an existing
plugin. Perhaps you could make your plugin accept an
argument to check Yum or APT, depending on user
preferences?
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 12:10
Message:
Logged In: YES
user_id=1039116
Have added this to 40 servers. Found that I have 2 RPMs to
be updated and it is still saying that the servers are okay and
have not updates?
Did not see any flags to pass to the module.
-Eric
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-05-08 01:46
Message:
Logged In: YES
user_id=1025858
Oke somehow check_yum was always reporting that there was 1
package to be updated (IF the system was not up2date
ofcourse). I fixed that in this release.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-04-21 09:20
Message:
Logged In: YES
user_id=1025858
0.3 is using the exit codes from yum now!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
From noreply at sourceforge.net Wed Aug 4 20:29:14 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 4 20:29:14 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-939170 ] check_yum - Check if YUM/RPM based system is up-to-date
Message-ID:
New Plugins item #939170, was opened at 2004-04-21 02:23
Message generated for change (Comment added) made by egunnett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: G. Krist (g_krist)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_yum - Check if YUM/RPM based system is up-to-date
Initial Comment:
check_yum does a check to see if a system is up-to-date
with all updates/patches. It's using the "yum
check-update" command on either local host or remote
hosts (using nrpe). It has 3 levels of return text:
1) Server is up-to-date (no updates available)
2) Server is NOT up-to-date, xxx packages etc (There
are updates, will be a Criticical error)
3) Something wrong with yum etc etc (something is wrong
with yum, will be a warning)
IMHO there is no need for -w or -c parameters not even
possible i think :D
note:
I would like to see some feedback, i'm already using it
for like 10 servers, it worked oke here. We run it once
a day.
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 20:27
Message:
Logged In: YES
user_id=1039116
Yum only reports 1 package to update even if there is more
then one. It looks like it is grepping for the Arch and some of
the RPMs have the noarch flag. It looks like it is missing them.
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 12:58
Message:
Logged In: YES
user_id=197417
I might be able to help. Although my time is limited right now.
I'll look at the plugin this week if I can. If I can work
something out, either as a patch or a separate plugin, I'll let
you know.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-08-04 12:26
Message:
Logged In: YES
user_id=1025858
Oke seems I forgot something to tell. Indeed check_yum
doesn't work correct. Why? nrpe remote can't run yum
check-update because it needs root for that. The problem
only occurs when there are new header files to be downloaded.
I found a work-a-round for it (he it's better then playing
with suid!).
- open/create /etc/cron.hourly/yumupdatedb
- put the following lines of text in it:
#!/bin/sh
/usr/bin/yum check-update
- save file
- make it +x (executable)
This way it will work!
@g_force
I could make an apt one, but i don't have apt boxes laying
around. You can help me with that?
----------------------------------------------------------------------
Comment By: Garry W. Cook (g_force)
Date: 2004-08-04 11:25
Message:
Logged In: YES
user_id=197417
I can see a need for -w and -c. Perhaps I want to know when
updated 'Frozen Bubble' packages are available, but don't
need to update them right away. I might want to pass a list
of such apps to the -w flag.
However, when Apache or OpenSSH packages are out of
date, I would want to generate a critical message, as there
could be security issues on my server that need to be
updated right away. So, these would be passed to the -c flag.
Perhaps nothing would need to be passed to -w, only -c,
anything not passed to -c would default to warning. Or
perhaps both could be specified, and anything else would
generate an unknown?
Just some thoughts... I don't even use Yum. I would however
be interested in seeing a similar plugin for APT. Is this
available or in the works? I'm guessing that it wouldn't be too
difficult to convert what you have for Yum, which I might
tackle if I get some spare time and can't find an existing
plugin. Perhaps you could make your plugin accept an
argument to check Yum or APT, depending on user
preferences?
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-04 11:10
Message:
Logged In: YES
user_id=1039116
Have added this to 40 servers. Found that I have 2 RPMs to
be updated and it is still saying that the servers are okay and
have not updates?
Did not see any flags to pass to the module.
-Eric
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-05-08 00:46
Message:
Logged In: YES
user_id=1025858
Oke somehow check_yum was always reporting that there was 1
package to be updated (IF the system was not up2date
ofcourse). I fixed that in this release.
----------------------------------------------------------------------
Comment By: G. Krist (g_krist)
Date: 2004-04-21 08:20
Message:
Logged In: YES
user_id=1025858
0.3 is using the exit codes from yum now!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=939170&group_id=29880
From noreply at sourceforge.net Thu Aug 5 12:57:16 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Aug 5 12:57:16 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-714625 ] new plugin: checking Compaq Smart Array Controllers
Message-ID:
New Plugins item #714625, was opened at 2003-04-03 06:16
Message generated for change (Comment added) made by egunnett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=714625&group_id=29880
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Guenther Mair (gunnyst)
Assigned to: Nobody/Anonymous (nobody)
Summary: new plugin: checking Compaq Smart Array Controllers
Initial Comment:
this plugin checks status from various older Compaq
Smart Array Controllers - most of them still in use today
most of this work is based on the source from cpqarrad-
1.3 by Hugo Trippaers
it will be most usefull togehter with check_nrpe
I'm looking for someone with knowledge about newer
Smart Array Controllers and eventually some details
about HP/Compaq's "health driver" - this would be a real
fine thing to have integrated without "blind" snmp
binaries
----------------------------------------------------------------------
Comment By: Eric Gunnett (egunnett)
Date: 2004-08-05 12:56
Message:
Logged In: YES
user_id=1039116
I am actually going to start a module for the CPQ Wellness
Drivers and such, through SNMP if possible. They store all the
information in the /proc directory for their monitoring agents.
Well, I will let you know how it goes.
----------------------------------------------------------------------
Comment By: Guenther Mair (gunnyst)
Date: 2004-06-23 23:05
Message:
Logged In: YES
user_id=748821
hi recentcoin
correct, Compaq has their own agents, but they expect you
to install lot's of different agents and tolls and snmp and so
on which (at least I do think so) noone needs nor want's
what I'm looking for is something really small (at the best 100-
200 kb) which connect's to the SA hardware through the
cciss interface; if it can do more like reading information
about cpu and fan states, that would be fine but not required
compaq/hp agents also pretend you to install redhat/suse
servers which is quite a limited choice and even if it works i'm
not so pleased with doing workarounds to have it running on
debian
----------------------------------------------------------------------
Comment By: recentcoin (recentcoin)
Date: 2004-06-23 17:15
Message:
Logged In: YES
user_id=992761
I know that compaq installes their own agent (SmartStart
stuff) and their own MIBS in order to do the health checks on
the drives and the controller. I have the Compaq MIB's if that
will be of any assistance to you. I also have a lot of Sun,
Cisco, etc. MIBS if anyone here needs them to aid in driver
development.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=714625&group_id=29880
From jhmartin at toger.us Thu Aug 5 16:08:02 2004
From: jhmartin at toger.us (Jason Martin)
Date: Thu Aug 5 16:08:02 2004
Subject: [Nagiosplug-devel] check_http & certificates
Message-ID: <20040805230724.GX32547@zippy.toger.us>
Just a little usability point, but when check_http is invoked
with -C (check certificate) it should imply --ssl.
-Jason Martin
--
Any philosophy that can be put in a nutshell belongs there
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 Aug 5 17:29:29 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Aug 5 17:29:29 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Patches-1004285 ] New plugin for checking smb mounts
Message-ID:
Patches item #1004285, was opened at 2004-08-06 00:27
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=1004285&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ethan Galstad (egalstad)
Assigned to: Nobody/Anonymous (nobody)
Summary: New plugin for checking smb mounts
Initial Comment:
This plugin was submitted by Christian Dettendorfer for
checking the availability of Windows shares.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1004285&group_id=29880
From julien.touche at lycos.com Sun Aug 8 09:04:14 2004
From: julien.touche at lycos.com (Julien TOUCHE)
Date: Sun Aug 8 09:04:14 2004
Subject: [Nagiosplug-devel] nagios-plugins + perfdata
Message-ID: <41153315.4010304@lycos.com>
i have a small question concerning the default plugins of nagios. it
seems they didn't issue the perfdata like shown in
http://nagios.sourceforge.net/docs/1_0/perfdata.html
in the source plugins dir,
plugins$ grep -rin percent_packet_loss *
plugins$ grep -rin perfdata *
plugins$
is that right ?
if it is, is there any plan to change this ? (or maybe integrate graph
directly in nagios ?)
what is the situation of other plugins ? (nrpe, nsclient, ...)
thanks
Regards
Julien
note: please cc. i'm not on list
From GWCOOK at mactec.com Mon Aug 9 06:53:00 2004
From: GWCOOK at mactec.com (Cook, Garry)
Date: Mon Aug 9 06:53:00 2004
Subject: [Nagiosplug-devel] nagios-plugins + perfdata
Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E976F@golden-m.mactec.com>
nagiosplug-devel-admin at lists.sourceforge.net wrote:
> i have a small question concerning the default plugins of nagios. it
> seems they didn't issue the perfdata like shown in
> http://nagios.sourceforge.net/docs/1_0/perfdata.html
>
> in the source plugins dir,
> plugins$ grep -rin percent_packet_loss *
> plugins$ grep -rin perfdata *
> plugins$
>
> is that right ?
Not all of the plugins currently support Performance Data. To get the
maximum number of perfdata supporting plugins, you should use the latest
CVS version, available from the Nagios Plugin page on SourceForge.
> if it is, is there any plan to change this ? (or maybe integrate
> graph directly in nagios ?) what is the situation of other plugins ?
> (nrpe, nsclient, ...)
To my knowledge, there are only two add-ons that will graph data within
Nagios. These are APAN and PerfParse. PerfParse uses the performance
data returned by the plugins, while APAN uses another method. Links to
both of these add-ons can be found from the Add-On section of the Nagios
web site.
> thanks
> Regards
>
> Julien
>
> note: please cc. i'm not on list
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)
From noreply at sourceforge.net Tue Aug 10 09:22:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 09:22:02 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 10:16
Message generated for change (Comment added) made by jhmartin
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: Jason Martin (jhmartin)
Date: 2004-08-10 08: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 13: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 11: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 11: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 Tue Aug 10 11:01:13 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 11:01:13 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 13:16
Message generated for change (Comment added) made by tracyorf
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: Tracy Orf (tracyorf)
Date: 2004-08-10 13: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 11: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 16: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 14: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 14: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 Tue Aug 10 11:44:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 11:44:02 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 (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1006777&group_id=29880
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nathan Shafer (nicodemus)
Assigned to: Nobody/Anonymous (nobody)
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1006777&group_id=29880
From noreply at sourceforge.net Tue Aug 10 11:47:04 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 11:47:04 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1006780 ] New SNMP check plugins for disk, load and procs
Message-ID:
New Plugins item #1006780, was opened at 2004-08-10 11:46
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=1006780&group_id=29880
Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nathan Shafer (nicodemus)
Assigned to: Nobody/Anonymous (nobody)
Summary: New SNMP check plugins for disk, load and procs
Initial Comment:
These are a few plugins we wrote to do system checks
through SNMP. Yes, there are quite a few other snmp
plugins, but none of them met our requirements. These
plugins are designed to match the functionality and
output of the existing non-snmp plugins that come with
the base nagios-plugins package.
check_snmp_disk.pl
This plugin checks the disk space of any number of
disks through SNMP. It allows you to specify warning
and critical thresholds as either kilobytes of disk
space, or percentages. It also allows you to specify
exactly which disks you want to check with inclusion
and exclusion filters. This plugin has only been tested
to work with the Net-SNMP and UCD-SNMP packages.
check_snmp_load.pl
This plugin checks the load averages of the remote
machine through SNMP. It allows you to specify warning
and critical levels for the 1 minute, 5 minute, and 15
minute averages.
check_snmp_procs.pl
Checks if any number of given processes are running on
the remote host. It allows you to specify the proc name
(with regex support) and the warn and critical ranges
(min and max) for each process.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1006780&group_id=29880
From noreply at sourceforge.net Tue Aug 10 12:34:06 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 12:34:06 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 10:16
Message generated for change (Comment added) made by jhmartin
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: Jason Martin (jhmartin)
Date: 2004-08-10 11: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 10: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 08: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 13: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 11: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 11: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 Tue Aug 10 12:37:10 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Tue Aug 10 12:37:10 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 10:16
Message generated for change (Comment added) made by jhmartin
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: Jason Martin (jhmartin)
Date: 2004-08-10 11: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 11: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 10: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 08: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 13: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 11: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 11: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 Wed Aug 11 01:43:08 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 11 01:43:08 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Feature Requests-583042 ] cpu and memory checker
Message-ID:
Feature Requests item #583042, was opened at 2002-07-18 04:14
Message generated for change (Comment added) made by digitalnerve
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=583042&group_id=29880
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Fred Im (fim32)
Assigned to: Nobody/Anonymous (nobody)
Summary: cpu and memory checker
Initial Comment:
don't know if this is useful, or if anyone else is interested
in these, but i've got these reliable reporting cpu and
memory statistics for solaris, hpux, tru64, and linux.
caveat: these are shell scripts, not too slow tho...
i'm tempted to report multi processor statistics, but i
can only find system tools for solaris...
fred
----------------------------------------------------------------------
Comment By: digitalnerve (digitalnerve)
Date: 2004-08-11 16:42
Message:
Logged In: YES
user_id=1101792
can this cpu and memory checker check remote host's cpu
and memory ? Does it allow -h on the command ?
Anybody know where I can find check cpu and memory and
log file of a host ? I am using netsaint-statd on the remote
hosts.
Can anybody help ?
digitalnerve at hotvoice.com
----------------------------------------------------------------------
Comment By: Fred Im (fim32)
Date: 2002-07-20 04:44
Message:
Logged In: YES
user_id=577259
cripes, i uploaded the wrong file...
in any case, version numbers are more accurate in the latest
tgz, also, uses utils.sh in libexec directory to get return
values.
----------------------------------------------------------------------
Comment By: Fred Im (fim32)
Date: 2002-07-20 04:06
Message:
Logged In: YES
user_id=577259
uh, bugs found, fixed
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=583042&group_id=29880
From noreply at sourceforge.net Wed Aug 11 04:59:02 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Wed Aug 11 04:59:02 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-997991 ] check pop3 server
Message-ID:
New Plugins item #997991, was opened at 2004-07-26 13:56
Message generated for change (Comment added) made by kosli
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=997991&group_id=29880
Category: C plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Seamus Dean (seamusdean)
Assigned to: Nobody/Anonymous (nobody)
Summary: check pop3 server
Initial Comment:
check_pop3.c is a nagios plugin that check a pop3
server.
You can specify a username and password to this
plugin,It will using the username and password to login
to the pop3 server and see if the server is ok or dead.
----------------------------------------------------------------------
Comment By: KoS (kosli)
Date: 2004-08-11 13:57
Message:
Logged In: YES
user_id=42372
i've made a perl plugin that checks pop3 AND pop3 with SSL:
it uses the Mail::POP3Client for the connection
cat check_pop3.pl
#!/usr/bin/perl
# POP3/POP3s check script for nagios
use Mail::POP3Client;
$host = $ARGV[0];
$user = $ARGV[1];
$password = $ARGV[2];
$usessl = $ARGV[3];
if ($#ARGV != 3) {
print "Usage: check_pop3.pl HOST USER PASS USESSL\n";
exit 1;
}
#print substr($usessl,0,4);
if ($usessl eq "true") {
$proto = "POP3s";
$pop = new Mail::POP3Client( USER => "$user",
PASSWORD => "$password",
HOST => "$host",
USESSL => true );
}else{
$proto = "POP3";
$pop = new Mail::POP3Client( USER => "$user",
PASSWORD => "$password",
HOST => "$host");
}
$count = $pop->Count();
if ($count == -1 ) {
print "$proto CRITICAL [User: $user]\n";
$pop->Close();
exit 2;
}else{
print "$proto OK [$count Messages at $user]\n";
$pop->Close();
exit 0;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=997991&group_id=29880
From awang at qrs.com Wed Aug 11 16:07:04 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 16:07:04 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA683DB@RCAX2003P02.qrs.com>
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From hmann at itgroundwork.com Wed Aug 11 16:15:07 2004
From: hmann at itgroundwork.com (Harper Mann)
Date: Wed Aug 11 16:15:07 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDA683DB@RCAX2003P02.qrs.com>
Message-ID: <20040811231446.C25D560801C@mail2.itgroundwork.com>
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From awang at qrs.com Wed Aug 11 16:17:06 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 16:17:06 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA683E7@RCAX2003P02.qrs.com>
I'm not. I'm using the AIX make utility.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:15 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From hmann at itgroundwork.com Wed Aug 11 16:22:07 2004
From: hmann at itgroundwork.com (Harper Mann)
Date: Wed Aug 11 16:22:07 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDA683E7@RCAX2003P02.qrs.com>
Message-ID: <20040811232131.90A2760801C@mail2.itgroundwork.com>
Hi Arnold,
That could be the issue. Suggest installing a gmake AIX package or
downloading and compiling gmake. ./configure should find gmake in
/usr/local if installed by default. If not, redefine your path so you pick
up gmake first. You should run make distclean before re-running
./configure.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:17 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
I'm not. I'm using the AIX make utility.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:15 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From awang at qrs.com Wed Aug 11 16:30:10 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 16:30:10 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA683FA@RCAX2003P02.qrs.com>
Thanks for your help. I tried and still having the same problem.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:21 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Hi Arnold,
That could be the issue. Suggest installing a gmake AIX package or
downloading and compiling gmake. ./configure should find gmake in
/usr/local if installed by default. If not, redefine your path so you pick
up gmake first. You should run make distclean before re-running
./configure.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:17 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
I'm not. I'm using the AIX make utility.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:15 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From brazil at sendmail.com Wed Aug 11 16:42:05 2004
From: brazil at sendmail.com (Tim Brazil)
Date: Wed Aug 11 16:42:05 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDA683DB@RCAX2003P02.qrs.com>
References: <8E889810A443434E80FC2373A39BBAEDA683DB@RCAX2003P02.qrs.com>
Message-ID: <411AAEA3.6080909@sendmail.com>
Someone else is also experiencing the same problem
http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
According to this is may be a gcc problem. Which compiler are you using?
http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
Arnold Wang wrote:
> I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
> received the following error messages:
>
> gcc -g -O2 -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.
>
> Stop.
>
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
>
> make: 1254-004 The error code from the last command is 2.
>
> Stop.
>
> I searched the list and run into the following message, however I
> couldn?t find the patch anywhere. Can someone kind enough to tell me
> where the patch is? It looks should fix my problem.
>
>>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
>
>
>
>
> ------------------------------------------------------------------------
>
From awang at qrs.com Wed Aug 11 16:45:01 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 16:45:01 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA68416@RCAX2003P02.qrs.com>
I'm using gcc.
# gcc -v
Reading specs from
/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
gcc version 2.9-aix51-020209
#
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 4:41 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
Someone else is also experiencing the same problem
http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
According to this is may be a gcc problem. Which compiler are you using?
http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
Arnold Wang wrote:
> I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
> received the following error messages:
>
> gcc -g -O2 -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.
>
> Stop.
>
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
>
> make: 1254-004 The error code from the last command is 2.
>
> Stop.
>
> I searched the list and run into the following message, however I
> couldn't find the patch anywhere. Can someone kind enough to tell me
> where the patch is? It looks should fix my problem.
>
>>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
>
>
>
>
> ------------------------------------------------------------------------
>
From hmann at itgroundwork.com Wed Aug 11 16:52:02 2004
From: hmann at itgroundwork.com (Harper Mann)
Date: Wed Aug 11 16:52:02 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDA683FA@RCAX2003P02.qrs.com>
Message-ID: <20040811235146.3A1E960801C@mail2.itgroundwork.com>
You might try "make distclean" or "make clean" if distclean is not found,
then re-run configure and then make.
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: Arnold Wang [mailto:awang at qrs.com]
Sent: Wednesday, August 11, 2004 4:29 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for your help. I tried and still having the same problem.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:21 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Hi Arnold,
That could be the issue. Suggest installing a gmake AIX package or
downloading and compiling gmake. ./configure should find gmake in
/usr/local if installed by default. If not, redefine your path so you pick
up gmake first. You should run make distclean before re-running
./configure.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:17 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
I'm not. I'm using the AIX make utility.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:15 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From awang at qrs.com Wed Aug 11 16:55:00 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 16:55:00 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA6841D@RCAX2003P02.qrs.com>
I did "make distclean" and re-configure before I run gmake.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:52 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
You might try "make distclean" or "make clean" if distclean is not found,
then re-run configure and then make.
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: Arnold Wang [mailto:awang at qrs.com]
Sent: Wednesday, August 11, 2004 4:29 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for your help. I tried and still having the same problem.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:21 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Hi Arnold,
That could be the issue. Suggest installing a gmake AIX package or
downloading and compiling gmake. ./configure should find gmake in
/usr/local if installed by default. If not, redefine your path so you pick
up gmake first. You should run make distclean before re-running
./configure.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:17 PM
To: hmann at itgroundwork.com; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
I'm not. I'm using the AIX make utility.
_____
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: Wednesday, August 11, 2004 4:15 PM
To: Arnold Wang; nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Are you using gmake (Gnu make)?
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
_____
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Arnold
Wang
Sent: Wednesday, August 11, 2004 4:06 PM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] (no subject)
I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
received the following error messages:
gcc -g -O2 -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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I searched the list and run into the following message, however I couldn't
find the patch anywhere. Can someone kind enough to tell me where the patch
is? It looks should fix my problem.
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 146 bytes
Desc: not available
URL:
From brazil at sendmail.com Wed Aug 11 17:00:11 2004
From: brazil at sendmail.com (Tim Brazil)
Date: Wed Aug 11 17:00:11 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDA68416@RCAX2003P02.qrs.com>
References: <8E889810A443434E80FC2373A39BBAEDA68416@RCAX2003P02.qrs.com>
Message-ID: <411AB2ED.2000606@sendmail.com>
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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 awang at qrs.com Wed Aug 11 17:02:24 2004
From: awang at qrs.com (Arnold Wang)
Date: Wed Aug 11 17:02:24 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDA68428@RCAX2003P02.qrs.com>
Thanks for the info. I'll give a try.
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 5:00 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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 blaz at amis.net Thu Aug 12 06:35:05 2004
From: blaz at amis.net (Blaz Zupan)
Date: Thu Aug 12 06:35:05 2004
Subject: [Nagiosplug-devel] nagios ircd plugin fix
Message-ID: <20040811214522.Y93841@titanic.medinet.si>
I'm not subscribed to this list, so this mail will hopefully get through.
I'm the maintainer of the FreeBSD port of nagios-plugins. I've received the
following contribution and added it to the FreeBSD port of nagios plugins. I
think this is a general fix that should be included in the
nagios-plugins distribtion, so I'm sending it to this list.
---------- Forwarded message ----------
Date: Tue, 10 Aug 2004 11:03:40 +0300
From: Martin Tsachev
To: Blaz Zupan
Subject: Re: nagios ircd plugin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 10 August 2004 08:40, you wrote:
> > Please apply the following patch to the ircd check plugin:
> >
> > - --- check_ircd Mon Aug 9 19:10:26 2004
> > +++ check_ircd.new Mon Aug 9 19:10:55 2004
> > @@ -67,6 +67,7 @@
> > $ENV{PATH} = "";
> > $ENV{ENV} = "";
> > $ENV{BASH_ENV} = "";
> > +$ENV{CDPATH} = "";
>
> Sure, could you please just elaborate on what problem it fixes (I don't use
> the plugin myself)?
The check_ircd script is run in perl's tainted mode. Perl checks for some
insecure environment variables and if they are set refuses to run.
In my case I have CDPATH set globally on the system so this is the only way to
run the check script.
- --
Martin Tsachev
http://martin.f2o.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)
iD8DBQFBGIFeypytlz9Py3wRAifuAJ49kyzmbXmEtJjAlVR3BxgWSC8uYwCeN12u
Uyr6HAF2C0/Zi7JygoMabT4=
=IY4z
-----END PGP SIGNATURE-----
From david at familie-ecker.net Thu Aug 12 06:35:07 2004
From: david at familie-ecker.net (David Ecker)
Date: Thu Aug 12 06:35:07 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
Message-ID: <200408121423.37349.david@familie-ecker.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
the check_ping plugin (Version *.31) prints the message "Error:Could not
interpret output from ping command"
I found out that if the host is unreachable (for example if a router is
misconfigured) ping prints another paramter in the result line :
5 packets send, 0 recieves, +3 errors, 100% packet loss,........
If the host is reachable or the icmp messages are returned everything looks
okay.
I use RedHat Enterprise 3
Do you have a patch for this case??
thx, bye
David Ecker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBG2FGRF725tuf87kRAnHvAKCghyjgNg+6rV+dAf3roTIkIRNZVwCgxeHA
4KPqMdz5mIq+SNS7j22+NBc=
=ZpKf
-----END PGP SIGNATURE-----
From ae at op5.se Thu Aug 12 07:14:12 2004
From: ae at op5.se (Andreas Ericsson)
Date: Thu Aug 12 07:14:12 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
In-Reply-To: <200408121423.37349.david@familie-ecker.net>
References: <200408121423.37349.david@familie-ecker.net>
Message-ID: <411B7B1A.1080004@op5.se>
David Ecker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> the check_ping plugin (Version *.31) prints the message "Error:Could not
> interpret output from ping command"
>
> I found out that if the host is unreachable (for example if a router is
> misconfigured) ping prints another paramter in the result line :
> 5 packets send, 0 recieves, +3 errors, 100% packet loss,........
>
> If the host is reachable or the icmp messages are returned everything looks
> okay.
>
> I use RedHat Enterprise 3
>
> Do you have a patch for this case??
>
There is a contributed plugin, named check_icmp which will work
properly, and much faster than normal check_ping. It doesn't rely on
underlying programs to actually send the packets for it, so it handles
faults and network anomalies properly.
If you find any problems with check_icmp, you can contact me directly,
as I'm the author of it.
> thx, bye
> David Ecker
--
Andreas Ericsson
OP5 AB
From awang at qrs.com Thu Aug 12 11:11:09 2004
From: awang at qrs.com (Arnold Wang)
Date: Thu Aug 12 11:11:09 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDAF39C0@RCAX2003P02.qrs.com>
I tried with gcc 3.3.2 and I passed the "gettext" error now. I'm having an
error of unknown symbol of .VA_COPY. This seems point me back to Eric's
patch about misplaced VA_COPY.
gcc -g -O2 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
-----Original Message-----
From: Arnold Wang
Sent: Wednesday, August 11, 2004 5:01 PM
To: 'Tim Brazil'
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for the info. I'll give a try.
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 5:00 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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 awang at qrs.com Thu Aug 12 11:21:00 2004
From: awang at qrs.com (Arnold Wang)
Date: Thu Aug 12 11:21:00 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDAF39E2@RCAX2003P02.qrs.com>
After I complained about the missing patch, I did Google search and found
this. http://article.gmane.org/gmane.network.nagios.plugins.devel/1207. I'll
give that a try. Sorry for not doing homework first.
-----Original Message-----
From: Arnold Wang
Sent: Thursday, August 12, 2004 11:10 AM
To: 'Tim Brazil'
Cc: 'nagiosplug-devel at lists.sourceforge.net'
Subject: RE: [Nagiosplug-devel] (no subject)
I tried with gcc 3.3.2 and I passed the "gettext" error now. I'm having an
error of unknown symbol of .VA_COPY. This seems point me back to Eric's
patch about misplaced VA_COPY.
gcc -g -O2 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
-----Original Message-----
From: Arnold Wang
Sent: Wednesday, August 11, 2004 5:01 PM
To: 'Tim Brazil'
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for the info. I'll give a try.
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 5:00 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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 brazil at sendmail.com Thu Aug 12 11:27:13 2004
From: brazil at sendmail.com (Tim Brazil)
Date: Thu Aug 12 11:27:13 2004
Subject: [Nagiosplug-devel] (no subject)
In-Reply-To: <8E889810A443434E80FC2373A39BBAEDAF39E2@RCAX2003P02.qrs.com>
References: <8E889810A443434E80FC2373A39BBAEDAF39E2@RCAX2003P02.qrs.com>
Message-ID: <411BB661.5050506@sendmail.com>
Hi Arnold
Please let us know how you make out after installing the patch. I'm sure
I'll be setting up our AIX boxes when I get bandwidth. I'd rather have
you stumble over these issues than me ;)
Tim
Arnold Wang wrote:
>After I complained about the missing patch, I did Google search and found
>this. http://article.gmane.org/gmane.network.nagios.plugins.devel/1207. I'll
>give that a try. Sorry for not doing homework first.
>
>
>-----Original Message-----
>From: Arnold Wang
>Sent: Thursday, August 12, 2004 11:10 AM
>To: 'Tim Brazil'
>Cc: 'nagiosplug-devel at lists.sourceforge.net'
>Subject: RE: [Nagiosplug-devel] (no subject)
>
>I tried with gcc 3.3.2 and I passed the "gettext" error now. I'm having an
>error of unknown symbol of .VA_COPY. This seems point me back to Eric's
>patch about misplaced VA_COPY.
>
> gcc -g -O2 -L. -o check_disk check_disk.o utils.o
>../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
>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.
>
>
>Stop.
>make: 1254-004 The error code from the last command is 1.
>
>
>Stop.
>make: 1254-004 The error code from the last command is 2.
>
>
>Stop.
>
>-----Original Message-----
>From: Arnold Wang
>Sent: Wednesday, August 11, 2004 5:01 PM
>To: 'Tim Brazil'
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: RE: [Nagiosplug-devel] (no subject)
>
>Thanks for the info. I'll give a try.
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 5:00 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>According to the info I sent previous, it's fixed in gcc-3.0.
>DISCLAIMER, this is info I gleaned from the internet ;)
>
>"This is gcc's bug, and fixed at 01-05-25.
>gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
>
>
>
>
>
>Arnold Wang wrote:
>
>
>
>>I'm using gcc.
>># gcc -v
>>Reading specs from
>>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>>gcc version 2.9-aix51-020209
>>#
>>
>>-----Original Message-----
>>From: Tim Brazil [mailto:brazil at sendmail.com]
>>Sent: Wednesday, August 11, 2004 4:41 PM
>>To: Arnold Wang
>>Cc: nagiosplug-devel at lists.sourceforge.net
>>Subject: Re: [Nagiosplug-devel] (no subject)
>>
>>
>>Someone else is also experiencing the same problem
>>
>>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>>
>>According to this is may be a gcc problem. Which compiler are you using?
>>
>>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>>
>>
>>Arnold Wang wrote:
>>
>>
>>
>>
>>
>>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>>received the following error messages:
>>>
>>>gcc -g -O2 -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.
>>>
>>>Stop.
>>>
>>>make: 1254-004 The error code from the last command is 1.
>>>
>>>Stop.
>>>
>>>make: 1254-004 The error code from the last command is 2.
>>>
>>>Stop.
>>>
>>>I searched the list and run into the following message, however I
>>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>>where the patch is? It looks should fix my problem.
>>>
>>>
>>>
>>>
>>>
>>>>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
>>>>
>>>>
>>>>
>>>>
>>>------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>>_______________________________________________
>>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 awang at qrs.com Thu Aug 12 12:09:12 2004
From: awang at qrs.com (Arnold Wang)
Date: Thu Aug 12 12:09:12 2004
Subject: [Nagiosplug-devel] (no subject)
Message-ID: <8E889810A443434E80FC2373A39BBAEDAF3AAC@RCAX2003P02.qrs.com>
The patch works.
-----Original Message-----
From: Arnold Wang
Sent: Thursday, August 12, 2004 11:20 AM
To: Arnold Wang; 'Tim Brazil'
Cc: 'nagiosplug-devel at lists.sourceforge.net'
Subject: RE: [Nagiosplug-devel] (no subject)
After I complained about the missing patch, I did Google search and found
this. http://article.gmane.org/gmane.network.nagios.plugins.devel/1207. I'll
give that a try. Sorry for not doing homework first.
-----Original Message-----
From: Arnold Wang
Sent: Thursday, August 12, 2004 11:10 AM
To: 'Tim Brazil'
Cc: 'nagiosplug-devel at lists.sourceforge.net'
Subject: RE: [Nagiosplug-devel] (no subject)
I tried with gcc 3.3.2 and I passed the "gettext" error now. I'm having an
error of unknown symbol of .VA_COPY. This seems point me back to Eric's
patch about misplaced VA_COPY.
gcc -g -O2 -L. -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
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.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
-----Original Message-----
From: Arnold Wang
Sent: Wednesday, August 11, 2004 5:01 PM
To: 'Tim Brazil'
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: RE: [Nagiosplug-devel] (no subject)
Thanks for the info. I'll give a try.
-----Original Message-----
From: Tim Brazil [mailto:brazil at sendmail.com]
Sent: Wednesday, August 11, 2004 5:00 PM
To: Arnold Wang
Cc: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] (no subject)
According to the info I sent previous, it's fixed in gcc-3.0.
DISCLAIMER, this is info I gleaned from the internet ;)
"This is gcc's bug, and fixed at 01-05-25.
gcc-2.95.3 don't contains this fix, but gcc-3.0 contains this fix."
Arnold Wang wrote:
>I'm using gcc.
># gcc -v
>Reading specs from
>/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.2.0.0/2.9-aix51-020209/specs
>gcc version 2.9-aix51-020209
>#
>
>-----Original Message-----
>From: Tim Brazil [mailto:brazil at sendmail.com]
>Sent: Wednesday, August 11, 2004 4:41 PM
>To: Arnold Wang
>Cc: nagiosplug-devel at lists.sourceforge.net
>Subject: Re: [Nagiosplug-devel] (no subject)
>
>
>Someone else is also experiencing the same problem
>
>http://article.gmane.org/gmane.network.nagios.plugins.devel/1180
>
>According to this is may be a gcc problem. Which compiler are you using?
>
>http://lists.gnu.org/archive/html/bug-gnu-utils/2003-06/msg00404.html
>
>
>Arnold Wang wrote:
>
>
>
>>I tried to compile Nagios plug-in 1.4.0alpha1 on AIX 5.2 machine and
>>received the following error messages:
>>
>>gcc -g -O2 -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.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 1.
>>
>>Stop.
>>
>>make: 1254-004 The error code from the last command is 2.
>>
>>Stop.
>>
>>I searched the list and run into the following message, however I
>>couldn't find the patch anywhere. Can someone kind enough to tell me
>>where the patch is? It looks should fix my problem.
>>
>>
>>
>>>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
>>>
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>_______________________________________________
>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 noreply at sourceforge.net Thu Aug 12 12:45:01 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Aug 12 12:45: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 10:16
Message generated for change (Comment added) made by jhmartin
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: Jason Martin (jhmartin)
Date: 2004-08-12 11: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 11: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 11: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 10: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 08: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 13: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 11: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 11: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 Stanley.Hopcroft at IPAustralia.Gov.AU Thu Aug 12 18:52:14 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Thu Aug 12 18:52:14 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
In-Reply-To: <411B7B1A.1080004@op5.se>
References: <200408121423.37349.david@familie-ecker.net> <411B7B1A.1080004@op5.se>
Message-ID: <20040813015113.GD58801@IPAustralia.Gov.AU>
Dear Sir,
I am writing to thank you for your letter and say,
On Thu, Aug 12, 2004 at 04:13:46PM +0200, Andreas Ericsson wrote:
>
> There is a contributed plugin, named check_icmp which will work
> properly, and much faster than normal check_ping. It doesn't rely on
> underlying programs to actually send the packets for it, so it handles
> faults and network anomalies properly.
>
I would love to try check_icmp (having been disappointed by
check_fping).
However, it doesn't appear to be in a freshly co'd copy of the CVS
bash-2.04$ pwd
/usr/home/stanley/build/nagiosplug
bash-2.04$ ls
AUTHORS FAQ README
autogen.sh intl plugins
CHANGES Helper.pm REQUIREMENTS
command.cfg.in lib plugins-scripts
CODING INSTALLING ROADMAP
configure.in nagios-plugins.spec.in po
COPYING LEGAL SUPPORT
contrib opttest.pl test.pl.in
CVS Makefile.am THANKS.in
contrib-reporting package.def tools
ChangeLog NEWS acinclude.m4
doc pkg win32
bash-2.04$ find . -iname '*icmp*' -ls
bash-2.04$
Nor on SourceForge/Tracker/new plugins.
tsitc> lynx -dump -nolist -pauth=foo:bar
'http://sourceforge.net/tracker/?atid=541465&group_id=29880&func=browse'
| grep -i icmp
tsitc> lynx -dump -nolist -pauth=foo:bar
'http://sourceforge.net/tracker/index.php?func=browse&group_id=29880&atid=541465&set=&offset=50'
| grep -i icmp
> If you find any problems with check_icmp, you can contact me directly,
> as I'm the author of it.
>
> Andreas Ericsson
> OP5 AB
>
>
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
From noreply at sourceforge.net Thu Aug 12 19:05:10 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Aug 12 19:05:10 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1008452 ] check_icmp
Message-ID:
New Plugins item #1008452, was opened at 2004-08-13 04:04
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=1008452&group_id=29880
Category: C plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Ericsson (ageric)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_icmp
Initial Comment:
check_icmp is basically a ping program written
specifically for Nagios. It is faster than check_fping
and check_ping by sending packets in a much more clever
way, and is more resource-friendly since it doesn't
fork other programs to do the actual checking.
It can check several IP-addresses one go and also
handles routing anomalies and various other network
errors correctly, whereas output from the ping program
differs enough from platform to platform for things to
go awry from time to time.
This plugin writes performance data correctly, but only
when pinging one host.
It is written with portability in mind, and should
compile cleanly on most platforms.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1008452&group_id=29880
From ae at op5.se Thu Aug 12 19:11:09 2004
From: ae at op5.se (Andreas Ericsson)
Date: Thu Aug 12 19:11:09 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
In-Reply-To: <20040813015113.GD58801@IPAustralia.Gov.AU>
References: <200408121423.37349.david@familie-ecker.net> <411B7B1A.1080004@op5.se> <20040813015113.GD58801@IPAustralia.Gov.AU>
Message-ID: <411C22F6.5020607@op5.se>
Stanley Hopcroft wrote:
> Dear Sir,
>
> I am writing to thank you for your letter and say,
>
> On Thu, Aug 12, 2004 at 04:13:46PM +0200, Andreas Ericsson wrote:
>
>>There is a contributed plugin, named check_icmp which will work
>>properly, and much faster than normal check_ping. It doesn't rely on
>>underlying programs to actually send the packets for it, so it handles
>>faults and network anomalies properly.
>>
>
>
> I would love to try check_icmp (having been disappointed by
> check_fping).
>
> However, it doesn't appear to be in a freshly co'd copy of the CVS
>
No, it's not. I just added it to the 'New Plugins' section on
sourceforge, and the latest version will always be available from
https://devel.op5.se/oss/check_icmp-0.6.tar.gz
Version number is subject to change without notice. ;-)
>
> Nor on SourceForge/Tracker/new plugins.
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
From noreply at sourceforge.net Thu Aug 12 19:53:14 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Thu Aug 12 19:53:14 2004
Subject: [Nagiosplug-devel] [ nagiosplug-Support Requests-1008474 ] check_log
Message-ID:
Support Requests item #1008474, was opened at 2004-08-13 10:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1008474&group_id=29880
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: digitalnerve (digitalnerve)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_log
Initial Comment:
Is there a check_log.pl that I can download ?
I am using netsaint-statd on my remote linux server. I
want to use check_log to monitor the log file at remote
server. However, check_log does not have the option, -
h for me to specify which remote host to check
the log file. Or how can I make use of this check_log to
check remote host ?
please email to me at digitalnerve at hotvoice.com
thank you
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=1008474&group_id=29880
From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Aug 12 21:24:01 2004
From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft)
Date: Thu Aug 12 21:24:01 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
In-Reply-To: <411C22F6.5020607@op5.se>
References: <200408121423.37349.david@familie-ecker.net> <411B7B1A.1080004@op5.se> <20040813015113.GD58801@IPAustralia.Gov.AU> <411C22F6.5020607@op5.se>
Message-ID: <20040813042248.GF58801@IPAustralia.Gov.AU>
Dear Sir,
I am writing to thank you for your letter and say,
On Fri, Aug 13, 2004 at 04:09:58AM +0200, Andreas Ericsson wrote:
> Stanley Hopcroft wrote:
.. blah blah blah.
>
> No, it's not. I just added it to the 'New Plugins' section on
> sourceforge, and the latest version will always be available from
> https://devel.op5.se/oss/check_icmp-0.6.tar.gz
> Version number is subject to change without notice. ;-)
>
Got it thank you.
Compiles and runs Ok (make) on FreeBSD 4.9-RLEASE-p2. Running in prod
Nag checking reachability of ~ 400 LAN connected devices.
tsitc# ../libexec/check_icmp -w 30,15% -c 60,50% -H 10.0.0.45
OK - 10.0.0.45: loss 0%, rta 1.76 ms | pl=0;rta=1.76
It is considerably faster than check_ping.
tsitc# ~anwsmh/perl/dotime/dotime 10 '../libexec/check_icmp -w 30,15% -c
60,50% -H 10.0.0.45'
Running ../libexec/check_icmp -w 30,15% -c 60,50% -H 10.0.0.45 10 times
1 2 3 4 5 6 7 8 9 10 done
Avg 1 2 3 4 5 6
7 8 9 10
------ ------ ------ ------ ------ ------ ------
------ ------ ------ ------
real 0.138 0.12 0.10 0.18 0.10 0.21 0.10
0.19 0.10 0.16 0.12
user 0.008 0.01 0.02 0.00 0.02 0.02 0.00
0.01 0.00 0.00 0.00
sys 0.053 0.02 0.06 0.04 0.07 0.02 0.09
0.02 0.09 0.09 0.03
tsitc# ~anwsmh/perl/dotime/dotime 10 '../libexec/check_ping -w 30,15% -c
60,50% -H 10.0.0.45'
Running ../libexec/check_ping -w 30,15% -c 60,50% -H 10.0.0.45 10 times
1 2 3 4 5 6 7 8 9 10 done
Avg 1 2 3 4 5 6
7 8 9 10
------ ------ ------ ------ ------ ------ ------
------ ------ ------ ------
real 4.053 4.04 4.04 4.03 4.04 4.14 4.06
4.06 4.04 4.04 4.04
user 0.000 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00
sys 0.000 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00
tsitc#
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Lead Developer
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
From GWCOOK at mactec.com Thu Aug 12 21:40:17 2004
From: GWCOOK at mactec.com (Cook, Garry)
Date: Thu Aug 12 21:40:17 2004
Subject: [Nagiosplug-devel] check_ping /destination unreachable
Message-ID: <41FD7929498A174DAB86C45F28E0EC0D6E9826@golden-m.mactec.com>
nagiosplug-devel-admin at lists.sourceforge.net wrote:
> Dear Sir,
>
> I am writing to thank you for your letter and say,
>
> On Fri, Aug 13, 2004 at 04:09:58AM +0200, Andreas Ericsson wrote:
>> Stanley Hopcroft wrote:
>
> .. blah blah blah.
And yadda yadda yadda
> tsitc# ../libexec/check_icmp -w 30,15% -c 60,50% -H 10.0.0.45
> OK - 10.0.0.45: loss 0%, rta 1.76 ms | pl=0;rta=1.76
>
> It is considerably faster than check_ping.
OK, I haven't downloaded and tried it out yet, I'm waiting until I get
to the office tomorrow. However, if what I see above is the actual
output of the plugin (thanks Stanley), then it appears as though the
perfdata output is indeed formatted incorrectly.
It should appear this way:
HTTP ok: HTTP/1.1 200 OK - 0.245 second response time |time= 0.245
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
-----Original Message-----
From: nagiosplug-devel-admin at lists.sourceforge.net
[mailto:nagiosplug-devel-admin at lists.sourceforge.net] On Behalf Of Jason
Martin
Sent: Tuesday, August 24, 2004 11:48 AM
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] ssl & client certs
Hello, can anyone recommend a way to handle doing http checks on
servers that require SSL client certificates? check_http doesn't
appear to handle this yet.
Thanks,
-Jason Martin
--
This message is PGP/MIME signed.
From jhmartin at toger.us Tue Aug 24 17:32:13 2004
From: jhmartin at toger.us (Jason Martin)
Date: Tue Aug 24 17:32:13 2004
Subject: [Nagiosplug-devel] ssl & client certs
In-Reply-To: <20040825001851.DCB2B60801C@mail2.itgroundwork.com>
References: <20040824184738.GD20497@zippy.toger.us>
<20040825001851.DCB2B60801C@mail2.itgroundwork.com>
Message-ID: <20040825003051.GJ20497@zippy.toger.us>
On Tue, Aug 24, 2004 at 05:18:47PM -0700, Harper Mann wrote:
> Doesn't the -S (--ssl) switch work?
No; you're thinking of a SSL server with just server
certificates. I'm referring to the situation where both the
server and the client are required to provide certificates. The
output from openssl s_server includes the data:
---
Acceptable client certificate CA names
/C=US/ST=WA/L=blah/O=blah/OU=blah/CN=blah
---
This happens when the webserver is set to validate the client.
The apache option for this is
http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslverifyclient
SSLVerifyClient
If I was using wget I would need to use the following options:
--sslcertfile=FILE optional client certificate.
--sslcertkey=KEYFILE optional keyfile for this certificate.
--sslcerttype=0/1 Client-Cert type 0=PEM (default) / 1=ASN1 (DER)
-Jason Martin
--
The most expensive component is the one that breaks.
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 julien.touche at lycos.com Sat Aug 28 05:33:02 2004
From: julien.touche at lycos.com (Julien TOUCHE)
Date: Sat Aug 28 05:33:02 2004
Subject: [Nagiosplug-devel] HEAD + openbsd
Message-ID: <41307BA4.9040505@lycos.com>
patch to solve some present but can't compile error with configure
(HEAD-200408271647)
+ one i didn't find in configure.in (and change aclocal.m4 doesn't seem
to do it.)
for sys/ucred.h, need
#if HAVE_SYS_PARAM_H
# include
#endif
+ arpa/inet.h pb on compile
In file included from utils.c:21:
/usr/include/arpa/inet.h:74: warning: `struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition
or declaration, which is probably not what you want.
/usr/include/arpa/inet.h:75: warning: `struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:75: warning: parameter has incomplete type
/usr/include/arpa/inet.h:79: warning: parameter has incomplete type
/usr/include/arpa/inet.h:85: warning: parameter has incomplete type
=> need before include
#include
at the end of compiling, i also get:
mv t-remove-potcdate.sed remove-potcdate.sed
: --default-domain=nagios-plugins --directory=..
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_
--files-from=./POTFILES.in --copyright-holder='Nagios Plugin
Development Group'
test ! -f nagios-plugins.po || { if test -f ./nagios-plugins.pot; then
sed -f remove-potcdate.sed < ./nagios-plugins.pot > nagios-plugins.1po
&& sed -f remove-potcdate.sed < nagios-plugins.po > nagios-plugins.2po
&& if cmp nagios-plugins.1po nagios-plugins.2po >/dev/null 2>&1; then
rm -f nagios-plugins.1po nagios-plugins.2po nagios-plugins.po; else rm
-f nagios-plugins.1po nagios-plugins.2po ./nagios-plugins.pot && mv
nagios-plugins.po ./nagios-plugins.pot; fi; else mv nagios-plugins.po
./nagios-plugins.pot; fi; }
: --update fr.po nagios-plugins.pot
rm -f fr.gmo && /usr/local/bin/msgfmt -c --statistics -o fr.gmo fr.po
error while opening "fr.po" for reading: No such file or directory
but don't know where does it come from.
Regards
Julien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-configure_in
URL:
From julien.touche at lycos.com Sun Aug 29 11:36:12 2004
From: julien.touche at lycos.com (Julien TOUCHE)
Date: Sun Aug 29 11:36:12 2004
Subject: [Nagiosplug-devel] check_linux_ram.pl (free ram+swap)
Message-ID: <41322223.9020104@lycos.com>
a small contrib for people who wants to check ram on linux hosts (use
/proc/meminfo).
compatible with perfdata
Regards
Julien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_linux_ram.pl
URL:
From noreply at sourceforge.net Mon Aug 30 09:01:14 2004
From: noreply at sourceforge.net (SourceForge.net)
Date: Mon Aug 30 09:01:14 2004
Subject: [Nagiosplug-devel] [ nagiosplug-New Plugins-1019173 ] contribution: check_microdowell
Message-ID:
New Plugins item #1019173, was opened at 2004-08-30 18:00
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=1019173&group_id=29880
Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Eichler (blindzero)
Assigned to: Nobody/Anonymous (nobody)
Summary: contribution: check_microdowell
Initial Comment:
Dear Nagios-Plugin-Developer,
we've made a smart an small perl plugin that checks the
status of "Microdowell UPS".
As these UPS from Microdowell are a bit hard to
implement ins upsd we wrote this plugin which uses the
software from Microdowell which reports the status on a
tcp/ip port.
We will make further developments in this plugin as
just the general status (ONLINE, OFFLINE, BATTERY,
BATTERY_EMPTY, etc.) of the UPS is checked at the
moment, but values like the power in- and output etc
are not monitored yet.
Greetings from Ottobrunn, Germany,
Matthias Eichler,
Oliver Sommer,
kernzeit AG
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1019173&group_id=29880
From julien.touche at lycos.com Mon Aug 30 20:46:21 2004
From: julien.touche at lycos.com (Julien TOUCHE)
Date: Mon Aug 30 20:46:21 2004
Subject: [Nagiosplug-devel] check_ping: Could not interpret output from ping command
Message-ID: <412E4CDE.80402@lycos.com>
i test today nagiosplug 1.4.0alpha1 and HEAD and have a problem with
ping (on linux whitebox3/x86)
# /bin/ping -n -U -w 10 -c 5 localhost
PING whitebox (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=0 time=0.094 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=0 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=0 time=0.025 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=0 time=0.023 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=0 time=0.023 ms
--- whitebox ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4015ms
rtt min/avg/max/mdev = 0.023/0.044/0.094/0.028 ms, pipe 2
# /opt/nagios/libexec/check_ping -V
check_ping (nagios-plugins 1.4.0alpha2) 1.27
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
# /opt/nagios/libexec/check_ping -H localhost -c 400,50% -w 100,10%
/bin/ping -n -U -w 10 -c 5 localhost
Error: Could not interpret output from ping command
Regards
Julien