Re: snmpd.conf

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]


On 11/08/06, Elias Bou Rahal <[email protected]> wrote:
>   1- the exact config file i am using is : "proc snmptrapd"
>   2- root     25384     1  0 Aug09 ?        00:00:01
> /home/jconsole2.0/snmptrapd -f
>   3- i am using version 2 , O/S Linux columbia..com.lb 2.4.18-4smp #1 SMP
> Thu May 2 18:32:34 EDT 2002 i686 unknown

What version of the net-snmp software are you using.
There has never been a "version 2" - the earliest was v5.0
(before that, it was called "ucd-snmp", and that started with v3)


>   About the second issue:
>   1-the shell is "#!/bin/sh
>                       echo hello world
>                       exit 10"

Yup - that's almost exactly what I had.

>    so the extResult.1 must be 10
>        and the extOutput.1  must be "hello world" but unfortunatly
> extOutPut.1 is emtpy always.

Strange.  It works fine for me.
Which brings us back to the outstanding question - what version are you using?

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.