On 9 November 2011 20:43, Simon Chamlian simon.chaml...@gmail.com 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
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
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
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 skjaiswa...@hotmail.comwrote:
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
On 10 November 2011 10:03, francisco moreno fjmom...@gmail.com 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
On 9 November 2011 18:11, Suresh kumar skjaiswa...@hotmail.com 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
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 d.t.shi...@liverpool.ac.ukwrote:
On 9 November 2011 18:11, Suresh kumar skjaiswa...@hotmail.com
On 10 November 2011 15:41, Simon Chamlian simon.chaml...@gmail.com 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
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
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
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)
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
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.
13 matches
Mail list logo