nagiosplugin bad interpreter issue

ANOOP ATRE anoopa at hotmail.com
Thu Oct 10 07:49:23 CEST 2002


thanks for the response

> > Could some one point me to where I can get the check_snmp
> > plugin I swear I looked everywhere!!! Maybe I just have overlooked
> > it in the dev-cvs (?)
>
>you need to have the snmp package from net-snmp.sf.net installed on
your
>system for check_snmp target to compile.  (see you configure errors.)

I thought the Net::SNMP from CPAN would suffice I'll try net-snmp first
thing in the morning.

when you say 'see you configure errors' do you mean check_snmp has the
sprintf errors I got with check_ifstatus? : )

and actually I was looking for the check_snmp.c file itself which I just
found in the plugins directory!

> >
> > One of the other issues which is not getting resolved even
> > after the usual google | manual | faq processes is that
> > I keep getting 'bad interpreter' errors compiling on some
> > of the plugins or even running the file, perl location etc is as
> > declared in the files, any suggestions on this will be appreciated.
> >
>
>post a snippet and OS info.

OS info:
Linux version 2.4.18-10 (gcc version 2.96 (Red Hat Linux 7.3))

snippet of the code? or error message?

the error message is similar to:

bash: ./checkciscotemp.pl: /usr/bin/perl: bad interpreter: Permission
denied

that one is when I try to run the check cisco temp perl plugin with a -h
option.

I've gone through so  many iterations I've forgotten the exact file that
gave me this problem I'll post when I test them again. On the whole I
have nagios doing checks I need, the error prone ones are to better the
setup.


>
> > On another note I don't know how I could post my last email to the
> > list from my work email since I'd signed up through my hot(spam)mail
account
> > !?!
> >
>
>you have to be signed up in order to post - helps cut down on the spam
to
>the list.

exactly my point : ) I had signed up through one email address but could 
post through another!

~


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list