[Nagiosplug-help] check_snmp
csavino at hhomesltd.com
csavino at hhomesltd.com
Thu Aug 6 13:53:59 CEST 2009
Thanks Ian. I got it working by fixing some configuration problems. Here
is what I did:
I have resolved the issue on both my machines.
On my second test machine, I noticed that the net-snmp-5.4.2.1 got an
error at the end of configure, missing lperl. So I installed several perl
modules and then configured net-snmp successfully, after that I
reconfigured the 1.4.11 plugins followed by make and make install.
Finally, the check_snmp appeared.
The packages I installed were (in this order)
1. sudo apt-get install libperl-dev
2. sudo apt-get install libnet-snmp-perl
3. sudo apt-get install libsnmp-session-perl
4. downloaded net-snmp-5.4.2.1 from net-snmp.sourceforge.net, then
./configure, make and finally make install
after that, downloaded nagios-plugins-1.4.11.tar.gz from sourceforge.net,
followed by
sudo tar xvzf nagios-plugins-1.4.11.tar.gz
cd nagios-plugins-1.4.11
sudo ./configure --with-nagios-user=nagiois --with-nagios-group=nagios
sudo make
sudo make install
The other machine had nagios-plugins-1.4.13 installed. There was an issue
with check_http and I think the install bailed out when it hit that error
and did not process the rest of the plugins, including check_snmp. I could
not resolve that error so I backed up to nagios-plugins-1.4.11 and had
success.
This procedure worked successfully today. As time goes by and versions of
packages get updated, it will likely be obsolete. The key was to force
myself to look carefully at all the output of each step and figure out
what the warnings and errors meant in terms of a final result.
Nagios has been quite a hard dance to learn.
Regards,
Chuck
From:
Ian Rarity <Ian.Rarity at espc.com>
To:
"'Nagios Plugin Help List'" <nagiosplug-help at lists.sourceforge.net>
Date:
08/06/2009 03:58 AM
Subject:
Re: [Nagiosplug-help] check_snmp
Try issuing ”make check_snmp” from the /plugins subdirectory; that should
either get you what you want, or some kind of reason why it won’t compile.
Ta,
IR.
From: csavino at hhomesltd.com [mailto:csavino at hhomesltd.com]
Sent: 05 August 2009 13:46
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] check_snmp
I am having a problem getting check_snmp plug-in in libexec.
My configuratiuon is Ubuntu 9.04 desktop, Nagios 3.1.2, plug-ins 1.4.11.
After a successful install as per the Nagios Ubuntu Quickstart guide, I
also installed net-snmp-5.4.2.1 and libnet-snmp-perl. Still no check_snmp.
When I redo the ./configure in the plug-ins, it indicates that it finds
the snmpget, snmpgetnext and Net::SNMP perl modules. There are no errors
or warnings I see related to check_snmp in the output.
Is there any way to force check_snmp to be created? If not, is there a way
to manually create it so I can just drop it in my libexec folder?
Regards,
Chuck
Click here to report this email as spam.
Private and Confidential: This e-mail transmission is strictly
confidential and intended solely for the addressee. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, disclose, distribute or take any action in
reliance on it. If you have received this e-mail in error, please delete
it and notify our E-mail Systems Administrator on +44 (0) 131 624 8000.
ESPC (UK) Ltd does not accept any liability for any harm that may be
caused to the recipient's system or data by this message or any
attachment.
ESPC (UK) Ltd is a company registered under the Companies Acts in Scotland
(Registered Number SC203585), and having its registered office at 90A
George Street, Edinburgh, Midlothian EH2 3DF.
ESPC (UK) Ltd is an Appointed Representative of Accord Consultancy which
is authorised and regulated by the Financial Services Authority.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090806/c274f7e0/attachment.html>
More information about the Help
mailing list