Re: How can I remove get for for report??

2009-02-06 Thread Dave Shield
2009/2/5 Ragesh V vrag...@hcl.in: 1 and 2 got removed when I used -e Context Engine ID in the snmpget. Is there any other way I can avoid step 1 and 2 than explicitly setting the context engine ID? No. The request *must* include the security engine ID in order to succeed, and it has to obtain

Re: Defining multiples OID's in a single handler module

2009-02-06 Thread Dave Shield
2009/2/5 Rodolfo Leffa rodolfole...@gmail.com: is there a way to define multiples OID's in a single module extending the agent?? Yes. Most of the code under 'mibgroup' works this way. There are very few MIB modules that comprise just one single OID. Have a look through this code, and see how

Re: Systems memory information wrong

2009-02-06 Thread Dave Shield
2009/2/6 victor Mendez vmen...@netsystemsinfo.com: Hi I have two Sun V880 machines, both systems are identical (physically) memory disks, partitions etc. The version of NETSNMP that I have installed is 5.4.1.1. the problem is that the value readings that I get for the Memory usage do not

Re: Multiple SNMP Applications

2009-02-06 Thread Dave Shield
2009/2/6 Michael Jeung jeungs...@gmail.com: I'm trying to figure out how to solve this problem without resorting to contexts. For example, can I have each of the applications create and independantly manage a row inside a single table? If you are defining the MIB for this information, then

Re: subagent does not receive get requests: snmpget returns Timeout: No Response

2009-02-06 Thread Dave Shield
2009/2/5 Alexander Bubnov alexander.bub...@gmail.com: I have run snmpd -Le -f -Dagentx under one consloe and ./subagent compiled from that sources under other console. I have added to the subage code: ... debug_register_tokens(nstAgentSubagentObject);

Re: how to enable log in net-snmp

2009-02-06 Thread Dave Shield
2009/1/29 query sh query...@googlemail.com: Could any one tell me how to enable and disable net-snmp log. $ snmpd -h -L LOGOPTS toggle options controlling where to log to e: log to standard error o: log to standard output n:

Re: subagent does not receive get requests: snmpget returns Timeout: No Response

2009-02-06 Thread Alexander Bubnov
Thanks a lot, David! The root of cause is a protocol. When I change udp to tcp subagent can response for that get request. 2009/2/6 Dave Shield d.t.shi...@liverpool.ac.uk 2009/2/5 Alexander Bubnov alexander.bub...@gmail.com: I have run snmpd -Le -f -Dagentx under one consloe and ./subagent

Regarding SNMP CARD

2009-02-06 Thread saini rahul
Dear Sir,  Actually we are the manufacture of Inverter and UPS and want to impliment SNMP for online ups.so i need the SNMP card along with its full detail..    Kindly mail me all concerned details for SNMP implimentaion and  from where can i perchase?   Thanks Regards Rahul Saini Kevin Power

Re: Systems memory information wrong

2009-02-06 Thread victor Mendez
On Friday 06 February 2009 03:59:09 am you wrote: 2009/2/6 victor Mendez vmen...@netsystemsinfo.com: Hi I have two Sun V880 machines, both systems are identical (physically) memory disks, partitions etc. The version of NETSNMP that I have installed is 5.4.1.1. the problem is that the value

Re: Sending Traps for different destinations at the same time

2009-02-06 Thread Wes Hardaker
On Fri, 30 Jan 2009 13:52:01 -, Angela Lazaro angela.laz...@edisoft.pt said: AL I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to AL different destinations at the same time. So far I've tried to defined AL different trapsess in the snmpd.conf file (the configuration

snmpwalk don't show all open ports ipv6

2009-02-06 Thread Péricles Oliveira
Hi @all I had tried to use the net-snmp 2.1 till 3.x on a linuxbox RHEL4, but when i tried to use the snmpwalk to get TCP port info, the informations to IPV6 port not appear. Someone can help about it? Thanks in advance Péricles Oliveira

static linking of net-snmp libraries..

2009-02-06 Thread Renju Mathew
Hi all, I was trying to compile the sample SubAgent from the totorial (http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent) using static linking of net-snmp libraries. But for some reason, its giving me errors. Dynamic linking of the same works for me.. I' m working on a

Clientaddr Parameter not working

2009-02-06 Thread nf-vale
Hi all, My SNMP system is in a private network behind a NAT'ed network, and I need to send traps, using snmptrap, to a NMS (on the internet) but using one IP address that is from a network inside the NAT'ed network, so the NMS can recognize it. I've tried this using clientaddr in snmp.conf but

Re: Defining multiples OID's in a single handler module

2009-02-06 Thread Rodolfo Leffa
On Fri, Feb 6, 2009 at 6:55 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: 2009/2/5 Rodolfo Leffa rodolfole...@gmail.com: is there a way to define multiples OID's in a single module extending the agent?? Yes. Most of the code under 'mibgroup' works this way. There are very few MIB

static linking of net-snmp libraries..

2009-02-06 Thread Renju Mathew
Hi all, I was trying to compile the sample SubAgent from the totorial (http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent) using static linking of net-snmp libraries. But for some reason, its giving me errors. Dynamic linking of the same works for me.. I' m working on a

Re: Clientaddr Parameter not working

2009-02-06 Thread Dave Shield
2009/2/6 nf-vale nf-v...@critical-links.com: My SNMP system is in a private network behind a NAT'ed network, and I need to send traps, using snmptrap, to a NMS (on the internet) but using one IP address that is from a network inside the NAT'ed network, so the NMS can recognize it. I've tried

Re: snmpwalk don't show all open ports ipv6

2009-02-06 Thread Dave Shield
2009/2/6 Péricles Oliveira pericles_silva_olive...@hotmail.com: I had tried to use the net-snmp 2.1 till 3.x Hmmm... I somehow doubt that. I don't believe there has *ever* been a version 2 of our software. I seem to remember that the UCD-SNMP package started at v3.0

SIGHUP/duplicate monitor instances

2009-02-06 Thread Tushar Gohad
Hello folks, In the current net-snmp version, there are no 'release' routines corresponding to parse_mteTriggerTable(), parse_simple_monitor() or parse_default_monitors(). This is causing the 'monitor' definitions not getting cleaned out on a SIGHUP. In case of linkUpDownNotifications for

multi-byte characters

2009-02-06 Thread Scott Grumm
Are there any data types that support mult-byte characters/strings? We are working on internationalization and I need to figure out if it's possible to send traps and respond to queries with multi-byte characters so languages such as Japanese and Chinese would be possible. Thanks, Scott

RE: subagent does not receive get requests: snmpget returns Timeout: No Response

2009-02-06 Thread Mike Ayers
From: Alexander Bubnov [mailto:alexander.bub...@gmail.com] Sent: Friday, February 06, 2009 2:05 AM The root of cause is a protocol. When I change udp to tcp subagent can response for that get request. More likely, the root of the problem is your firewall. SNMP is ordinarily run

RE: Regarding SNMP CARD

2009-02-06 Thread Mike Ayers
From: saini rahul [mailto:saini...@yahoo.com] Sent: Friday, February 06, 2009 3:47 AM Actually we are the manufacture of Inverter and UPS and want to impliment SNMP for online ups.so i need the SNMP card along with its full detail. Kindly mail me all concerned details for SNMP

RE: Systems memory information wrong

2009-02-06 Thread Mike Ayers
From: victor Mendez [mailto:vmen...@netsystemsinfo.com] Sent: Friday, February 06, 2009 6:43 AM REPLY: To be honest we use an application known as SOLARWINDS Please visit the mailing lists page: http://www.net-snmp.org/support/mailinglists.html Search the users list for

RE: Clientaddr Parameter not working

2009-02-06 Thread Mike Ayers
From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Sent: Friday, February 06, 2009 8:53 AM What you need is an SNMP-knowledgeable module for your NAT system. That's outside the scope of the Net-SNMP project. Talk to the NAT people. ...or use SNMPv3 notifications - the

RE: multi-byte characters

2009-02-06 Thread Mike Ayers
From: Scott Grumm [mailto:scottgr...@gmail.com] Sent: Friday, February 06, 2009 10:13 AM Are there any data types that support mult-byte characters/strings? We are working on internationalization and I need to figure out if it's possible to send traps and respond to queries with

Re: multi-byte characters

2009-02-06 Thread Nikos Balkanas
From mibs/SNMP-TARGET-MIB.txt : SnmpTagValue ::= TEXTUAL-CONVENTION DISPLAY-HINT 255t STATUS current DESCRIPTION An octet string containing a tag value. Tag values are preferably in human-readable form. To facilitate internationalization, this

RE: multi-byte characters

2009-02-06 Thread Mike Ayers
From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Friday, February 06, 2009 8:09 PM SnmpTagValue ::= TEXTUAL-CONVENTION Not a good choice. As stated in the description, the SnmpTagValue has specific semantics, and should not be used in a situation where tags are not needed