2009/3/27 Kamil Kisiel ka...@zymeworks.com:
snmpgetnext ... HrSWRunPath.4048
return
HOST-RESOURCES-MIB::hrSWRunPath.4049 = STRING: /usr/sbin/cron
as expected.
That's what I thought you would see.
snmpgetnext ... HrSWRunPath.1 returns
HOST-RESOURCES-MIB::hrSWRunParameters.1 =
which
Hi,
I have written a small c program which parses data received extracts some
information and stores it in some variables.
Using this information I need to be able to make SNMP traps and forward them to
the NMS.
Should I use the SNMP trap from within this program or write another c program
2009/3/29 Thomas Anders thomas.and...@blue-cable.de:
I could reproduce the problem on openSuSE 11.1 with *all* of the following:
- SuSE-provided net-snmp RPM
- stock net-snmp 5.4.2.1 (built from source)
- net-snmp SVN trunk (built from source)
That's very useful, Thomas - thanks.
I'm pretty
Again its as per you use the API. Infact snmp_send* APIs internally
calls the netsnmp_send* APIs.
Go through agent_trap.c
Thanks and Regards,
Sazid
From: Tanisha Kashyap [mailto:tanisha.kash...@aricent.com]
Sent: Monday, March 30, 2009 3:34 PM
To: Sazid Mahammad (WT01 - Semi
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
My sole purpose is to actually make an agent which would implement a get/set
request
on a MIB object and would also implement sending traps.
OK - in that case Sazid is quite correct.
You should use one of the agent trap API calls.
Please
What's the difference between a dynamically loaded module and a subagent.
What would be end-product of developing a subagent.
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com]
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
What's the difference between a dynamically loaded module and a subagent.
Whenever you're working with SNMP, you'll always have an agent - a process
that is running all of the time, and will respond to requests for information.
The question
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 4:44 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Just a few more question
If I develop a subagent then that would run independent of the master agent
i.e. snmpd?
Will that be a master-slave mode?
The end product would be a daemon which would run like the snmpd does?
No task is so humble that it does not offer an outlet for individuality
I had actually gone through the demo modules provided with the net-snmp
package. That seemed fine to me.
But now the AgentX approach seems better in the sense that I would have my own
daemon running (I am assuming it shall be visible with the ps -ef|grep command
apart from the snmpd). Can you
My sole purpose is to actually make an agent which would implement a get/set
request on a MIB object and would also implement sending traps.
The traps are formed in a different way. Some data is parsed and the traps are
formed using the parsed information. The traps are then sent to the NMS.
2009/3/30 sazid.maham...@wipro.com:
It depends upon you. You can send TRAP in same or write different .
I would agree - you could either send the trap from within your application,
or invoke the snmptrap command to do this.
Coding this yourself is cleaner, while forking off snmptrap is
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
Whenever you're working with SNMP, you'll always have an agent - a process
that is running all of the time, and will respond to requests for
information.
This agent is the net-snmp daemon snmpd?
The Net-SNMP daemon snmpd is an example
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
If I develop a subagent then that would run independent of the master agent
i.e. snmpd?
It would run as a separate process to the master agent, yes.
But it would be dependent on the master agent for being given
requests to process.
Will
2009/3/30 anand chandragandhi chandragandhi.an...@gmail.com:
I have already mede a request to printer(an snmpv3 device ) .
I want to reuse the engine id for next request please let me know how to do
this .
If you have a single process that makes both requests,
then the library will remember
Thanks... :)
No task is so humble that it does not offer an outlet for individuality
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 6:26 PM
To: Tanisha Kashyap
Cc:
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
Can you refer some reading material (apart from the net-snmp site)
or some sample agent (preferable) so that I can go through it and
finalize what approach to take and document it.
No. I don't have any documentation I can point you
Hi,
Warm Greetings.
How to handle engine id for SNMPv3 for reuse of session(My program is
multithreaded)
I dont want to create context every time .
Also i h ave 200 devices in my my network and i cant store 200 context also
is there any possible way i can do the same with engind id.
Thanks
Sorry for this late reply. Thank you all for your suggestions.
Magnus, i haven't tried your file but i have tried the one presented by
net-snmp and it worked. I have simply manipulated makefile in order to include
the path to net-snmp getopt. By this way, it compiles the net-snmp getopt and
On 30/03/09 1:31 , Dave Shield d.t.shi...@liverpool.ac.uk wrote:
2009/3/27 Kamil Kisiel ka...@zymeworks.com:
snmpgetnext ... HrSWRunPath.4048
return
HOST-RESOURCES-MIB::hrSWRunPath.4049 = STRING: /usr/sbin/cron
as expected.
That's what I thought you would see.
snmpgetnext ...
Hi All,
I'm using NET-SNMP version 5.2.1.2. I would like to update to the latest
version or to the next stable version. I do have lots of custom changes which I
would like to keep. What is the best procedure to do this?. Is there a list of
all patches I need to apply in order to reach a
From: down Load [mailto:engl...@yahoo.com]
Sent: Friday, March 27, 2009 1:42 AM
I found this error when i try to start snmpd ,please hekp me
to solve it
/usr/sbin# ./snmpd -i interfaces
./snmpd: Not a recognized flag: i
Usage: snmpd [-c config_file] [-d level] [-f logfile]
Dave Shield wrote:
could you possibly try the attached (temporary) patch,
and let me know whether it makes any difference.
(and if so, what you see)
Works for me with SVN trunk:
foo# snmpwalk [...] localhost hrSWRunPath
HOST-RESOURCES-MIB::hrSWRunPath.1 = STRING: init [5]
I wrote a tiny mib with a scalar and table.
Ran configure --with-mib-modules=testscalar
Ran make, make install
Ran agent with -f -Le -d and I can see the snmpget -v1 -c public localhost
1.3.6.1.4.1.3000.2.1.1.1.0 send request, agent gets it and response is
no such variable available on the
In the spirit of answering my own question from a few weeks back...
Tackabury, Wayne wayne.tackab...@mirror-image.com axxxed
I'm trying to compile in support for the 64-bit ifXTable counter support for
the IF-MIB for Solaris 10 Intel
(and Sparc ultimately)...If I reestablish the build
Hi!
I have generated code using mib2c -c mib2c.mfd.conf my-node.
Can someone please point out to any documentation regarding which files and
what code needs to be added to the generated code?
I even tried comparing the files of ifTable with the files generated for my mib
node. They seem to be
26 matches
Mail list logo