check SNMP plugin won't compile
Freddy Frouin
freddy.frouin at fluxus.net
Thu Jul 17 17:53:25 CEST 2003
Hi,
Some basic stuff to check:
- does your $PATH env var contain /usr/local/bin when you
start the ./configure ?
- did you look on "./configure --help" to see if some options could
be given to help it to find the netsnmp package ?
- did you check the configure.in file to look what kind of
check it contains concerning net-snmp ?
'Hope this help, Freddy.
On Thu, 17 Jul 2003 09:27:00 -0600
"Cook, Garry" <GWCOOK at mactec.com> wrote:
> I've just installed Nagios 1.1 on a new RH9 system and am now attempting to compile the plugins (1.3.1). The first time that I attempted this, check_snmp was not compiled due to the fact that the configure script could not locate 'snmpget'. I had installed Net::SNMP perl module via CPAN, although I did not have the NET-SNMP package. I have since downloaded and installed NET-SNMP 5.0.8 and 'snmpget' and 'snmpgetnext' are both located in /usr/local/bin. Unfortunately, the nagios plugins configure script still does not compile the check_snmp plugin, and shows the same error message as before:
>
> checking for snmpget... no
> ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins
> checking for snmpgetnext... no
>
> I've done a 'make clean' for the plugins and tried again.
> I've reinstalled NET-SNMP
> I've deleted the plugin source directory and untarred and tried again.
> I've even gone so far as to reboot the box and try again.
> Looking through the INSTALL, README, and REQUIREMENTS files, I was not able to find anything about specifying the correct path to necessary files.
>
> Any assistance is appreciated.
>
> Garry W. Cook, CCNA
> Network Infrastructure Manager
> MACTEC, Inc. - http://www.mactec.com/
> 303.308.6228 (Office) - 303.881.5157 (Mobile)
>
> > -----Original Message-----
> > From: Leonard Miller [mailto:Leonard_Miller at udlp.com]
> > Sent: Thursday, July 17, 2003 7:45 AM
> > To: nagios-users at lists.sourceforge.net; lordtm at poczta.onet.pl
> > Subject: Re: [Nagios-users] SNMP in Red Hat 9.0
> >
> >
> > Pawel,
> > You need to install the net-snmp packages. They may already
> > be installed. Try "rpm-qa | grep snmp" and see what it
> > returns. If it isn't installed, it is probably on the CD.
> > There should be 3 packages.
> >
> > Leonard
> >
> > >>> Pawe (B³ Siwek <lordtm at poczta.onet.pl> 07/17/03 08:23AM >>>
> > What should I install in RH 90 to be able to check devices
> > via SNMP? regards Pawel
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a
> > single machine. WITHOUT REBOOTING! Mix Linux / Windows /
> > Novell virtual machines at the same time. Free trial click
> > here: http://www.vmware.com/wl/offer/345/0
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS
> > when reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a
> > single machine. WITHOUT REBOOTING! Mix Linux / Windows /
> > Novell virtual machines at the same time. Free trial click
> > here: http://www.vmware.com/wl/offer/345/0
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS
> > when reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
--
Freddy Frouin
Responsable Supervision
British Telecom / Fluxus
30, rue du Château des Rentiers
75013 Paris
Tél: +33 (0)1 44 97 70 00
Fax: +33 (0)1 44 97 70 07
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list