Re: snmpd.conf

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 07/08/06, Elias Bou Rahal <[email protected]> wrote:
>     In he snmpd.confi wrote "proc NameOfPrcess"  and i get the value of
> snmpbulkwalk -v2c NameOfMachine public prTable, the
> enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 is always
> 0 if the program is running or no

What is the exact config line that you are using?
What does 'ps' report this process as?
What version are you using, and on what O/S?

> and the same for the
> "exec shelltest /bin/sh /home/jinny/shelltest.sh" in the snmpd.conf the value
> extIndex.1 = 1
> extNames.1 = shelltest
> extCommand.1 = /bin/sh /tmp/shelltest.sh
> extResult.1 = 0

> the extRestult and the extOutput don't return any correct values
>
> so it seems doesn't work properly , if u know the reason or if it needs and
> additional configuration plz tell me

No - it doesn't need any extra configuration.  I've just tried this
and it works fine.

What do you expect this script to report? What does the shelltest.sh
script contain?

Dave

-------------------------------------------------------------------------
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
_______________________________________________
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.