Re: Re:Re: Capabilties of pass command in snmpd.conf?

"Ken Adey" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <001001c7ecfb$cf537c90$650aa8c0@redvin>
The response should be 3 lines: the OID, the data type, and the data value, 
each on it's own line.

For example:

.1.3.6.1.4.1.29090.1.1
integer
10

Read the section "Extending Agent Functionality" here 
http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html . particularaly the 
"pass" mechanism under "MIB-Specific Extension Commands". That describes the 
protocol.

Ken....



----- Original Message ----- 
From: "Stefan Guenther" <[email protected]>
To: <[email protected]>
Sent: Saturday, September 01, 2007 4:05 PM
Subject: Re:Re: Capabilties of pass command in snmpd.conf?


> Hello,
>> Does the shtest script respond in the way Net-SNMP expects?
>>
>>
> Well, the value of this OID should be a string, so the script looks like
> this:
>
> #! /bin/bash
>
> echo "Test"
> exit 35
>
> That was one of the examples in the snmpd.conf.
> I had a closer look at the passtest script, too, but didn't really
> understand how it works.
>
>> Does your public community access control include that branch of the MIB
>> tree?
>>
>>
>>
> yes, during testing I have access to the whole MIB tree.
>
> Thanks,
>
> Stefan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> 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 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.