Hello users,
Is there a way to dynamically reconfigure snmpd settings without restarting
it. I mean are there any IOCTL command, C api or signal handler defined to
reconfigure agent settings other then editing the snmpd.conf and restarting
agent ourself.
Thank you so much Alistair for replying. Apparently the passtest script had
a tiny bug. The case statement which checks for a particular OID has been
broken into multiple line but without any line continuation terminator '\'
and which was giving syntax error which i came to know only after i ran th
No, request->index always returns 1 for single GET. The following appears to
work well enough. Thanks anyway.
long myNetSnmpGetLastOidIndex(const netsnmp_table_request_info* table_info,
const int expectedNumberOfIndexes)
{
if ((expectedNumberOfIndexes == table_info->number_indexes) &&
(
On 10 November 2011 19:49, STOTTS Timothy
wrote:
> how would I determine the lookup index in the SNMP GET/SET?
> Example handler code:
> int index;
> for (request=requests; request; request=request->next) {
> index = request->index;
Isn't this what you are lo
I have a working SNMP table where my code initializes a table with a dataset
and then creates initial rows with:
netsnmp_create_table_data_row()
The code sets columns in each row, and adds each row to the table.
With just that code in place and an empty table handler, everything works as
> I checked even with the
> wireshark, the get request and response packets are present, however the
> returned value is "No Such Instance". I even ran the snmpd with
> -Ducd-snmp/pass and it prints the following line
> ucd-snmp/pass: pass-running: /bin/sh
> /home/rvragav/11n/net-snmp-5.7.1/local/
On 10 November 2011 15:41, Simon Chamlian wrote:
> I think what he means (or what I mean) is to have one config file that
> converts the whole MIB file (which contains any possible object) into C.
If the MIB contains scalar objects, then the command I gave will do
exactly that.
If the MIB contai
I think what he means (or what I mean) is to have one config file that
converts the whole MIB file (which contains any possible object) into C.
Simon
On Thu, Nov 10, 2011 at 10:30 AM, Dave Shield wrote:
> On 9 November 2011 18:11, Suresh kumar wrote:
> > i want convert entire MIB object to c/
On 9 November 2011 18:11, Suresh kumar wrote:
> i want convert entire MIB object to c/h file using mib2c at once
What do you mean by "converting the MIB object"?
What sort of MIB object(s) do you have in mind.
If these are scalar objects, then try
mib2c -c mib2c.scalar.conf MY-MIB::myTopL
On 10 November 2011 10:03, francisco moreno wrote:
> - I downloaded "net-snmp-5.4.4.tar.gz" package from sourceforge.
> - I unziped this (tar xzvf net-snmp-5.4.4.tar.gz) into "/etc" directory
> - I have installed "libperl-dev" library
> - Next, I followed the steps of installation (I saw
Any feedback on this? I am also interested in such a script.
Thanks,
Simon
On Wed, Nov 9, 2011 at 1:11 PM, Suresh kumar wrote:
> Hello all
> i want convert entire MIB object to c/h file using mib2c at once
> can any once do this before please let me know .
> if not what i need change in mib2c
Hi,
I'm using the "pass through" extension provided by the snmpd. And I'm using
the passtest script present inside the local directory with no changes made
to it and still I'm not able to get the values printed in the command line
and here is how my setup is. I've a virtual machine running slax(li
Hello
I'm trying to install "net-snmp" form packages into Ubuntu 8.04 but it
doesn't works. The
steps that I tried are:
- I downloaded "net-snmp-5.4.4.tar.gz" package from sourceforge.
- I unziped this (tar xzvf net-snmp-5.4.4.tar.gz) into "/etc" directory
- I have installed "libperl-dev"
On 9 November 2011 20:43, Simon Chamlian wrote:
> After reading the tutorials for “Writing a MIB Module”, it seems that there
> are 3 methods of adding our own MIB into the agent:
>
> 1) Directly compiled in code
>
> 2) Writing a subagent (AgentX), which is another daemon
> that
14 matches
Mail list logo