R: R: R: No output on check_snmp
Marco Borsani
m.borsani at it.net
Mon Mar 19 11:47:03 CET 2007
Luca,
I run as root or nagios user from command line, and receiving same (correct)
answers like:
./check_snmp -H 151.1.XXX.YYY -o .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6 -C
ABCDEF
SNMP OK - 16788 | iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16788;;;;
Marco
-----Messaggio originale-----
Da: Luca Fornasari [mailto:luca at jewelrydesign.com.hk]
Inviato: lunedì 19 marzo 2007 11.19
A: Marco Borsani
Cc: 'Evans, Michael'; nagios-users at lists.sourceforge.net
Oggetto: Re: [Nagios-users] R: R: No output on check_snmp
Which user do you use to run it using the command line?
Which user is nagios main process running with?
Luca
On Mon, 2007-03-19 at 11:09 +0100, Marco Borsani wrote:
> Check_snmp has same permission in all systems (linux and hp-ux)
>
>
>
> On Linux
>
> -rwxr-xr-x 1 root sys 651708 Sep 15 2005 check_snmp
>
> On Hp-ux
>
> -rwxrwxrwx 1 nagios nagios 651708 Sep 15 2005
> check_snmp
>
>
>
> Gave same answers !
>
>
>
> Actually, only difference I can see are the plugin versions.
>
> On Linux
>
> check_snmp (nagios-plugins 1.4.3) 1.58
>
> On Hp-ux
>
> check_snmp (nagios-plugins 1.4.1) 1.57
>
>
>
> Marco
>
>
>
>
>
>
>
>
> ______________________________________________________________________
> Da: Evans, Michael [mailto:Michael.Evans at arvinmeritor.com]
> Inviato: venerdì 16 marzo 2007 19.26
> A: 'Marco Borsani'; nagios-users at lists.sourceforge.net
> Oggetto: RE: [Nagios-users] R: No output on check_snmp
>
>
>
>
> Make sure the user id running Nagios has execute permission on the
> plugin. Seems simple, but this just caught me putting a new plugin
> into production.
>
>
>
>
>
> Mike
>
>
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> Of Marco Borsani
> Sent: Friday, March 16, 2007 9:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] R: No output on check_snmp
>
> Hi all
>
>
>
> The problem still persists only on the linux server .
>
>
>
> Running a check_snmp manually the exit status in (correctly)
> zero.
>
>
>
> Marco
>
>
>
>
> ______________________________________________________________
> Da:nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto
> di Marco Borsani
> Inviato: giovedì 15 marzo 2007 16.38
> A: nagios-users at lists.sourceforge.net
> Oggetto: [Nagios-users] No output on check_snmp
> Priorità: Alta
>
>
>
>
> Hi all.
>
>
>
> I have migrated nagios from an hp-ux to a linux system.
>
>
>
> All run correctly, but 4 checks via snmp give me following
> error: (No output!)
>
>
>
> Consider than if I run check_snmp manually I receive a correct
> answer, like:
>
> test OK - 16257 |
> iso.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6=16257;;;;
>
>
>
> Any idea?
>
>
>
> Marco Borsani
> Technical Operation
>
> tel.: +390104310115
> e-fax: +390683175950
> * m.borsani at it.net
>
> ITnet S.r.l.
> Direzione e Coordinamento di Wind Telecomunicazioni S.p.A.
> Via Pacinotti, 39
> 16151 - Genova
>
>
> In ottemperanza al D. lgs 196/03 in materia di protezione dei
> dati personali, le informazioni contenute in questo messaggio
> sono strettamente riservate e sono esclusivamente indirizzate
> al destinatario indicato (oppure alla persona responsabile di
> rimetterlo al destinatario). Qualsiasi uso, riproduzione o
> divulgazione di questo messaggio è vietata. Nel caso in cui
> aveste ricevuto questa mail per errore, Vi invitiamo ad
> avvertire il mittente al più presto a mezzo posta elettronica
> e distruggere il messaggio erroneamente ricevuto.
>
> According to Italy's new data protection code (Legislative
> Decree no. 196/2003) in force on January 1st 2004, Italian Law
> 196/03 concerning privacy, the information contained in this
> e-mail is confidential and is intended for the addressee only.
> If you are not the correct recipient, please note that any
> use, dissemination or copy of this document/information is
> strictly prohibited.If you have received this message in
> error, you should destroy it and please notify us immediately
> by e-mail.
>
>
>
>
>
> This e-mail message and any attachments may contain legally
> privileged, confidential or proprietary Information, or information
> otherwise protected by law of ArvinMeritor, Inc., its affiliates, or
> third parties. This notice serves as marking of its Confidential
> status as defined in any confidentiality agreements concerning the
> sender and recipient. If you are not the intended recipient(s), or the
> employee or agent responsible for delivery of this message to the
> intended recipient(s), you are hereby notified that any dissemination,
> distribution or copying of this e-mail message is strictly prohibited.
> If you have received this message in error, please immediately notify
> the sender and delete this e-mail message from your computer.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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