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

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 infor

RE: snmpwalk don't show all open ports ipv6

2009-02-06 Thread Péricles Oliveira
Sorry Dave, it missing a number, my current version is: net-snmp-5.3-1.el4.i386.rpm. Because i have the Redhat EL4, and i had tried to use the snmpwalk to get information on ipv6 TCP port as e.g: netstat -an|grep 8080 tcp0 0 172.22.181.7:8080 172.22.150.46:20300

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 m

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 eng

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: 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 SNM

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 ru

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 -

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

Re: snmpwalk don't show all open ports ipv6

2009-02-06 Thread Dave Shield
2009/2/6 Péricles Oliveira : > 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 > but when i

Re: Clientaddr Parameter not working

2009-02-06 Thread Dave Shield
2009/2/6 nf-vale : > 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

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

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 __

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" > 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 file for AL

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 : > > 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

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 wrote: > 2009/2/5 Rodolfo Leffa : > > 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.

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

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 Net

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 Net

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 > 2009/2/5 Alexander Bubnov : > > I have run "snmpd -Le -f -Dagentx" under one consloe and "./subagent" > > compiled from that sources under other cons

Re: how to enable log in net-snmp

2009-02-06 Thread Dave Shield
2009/1/29 query sh : > Could any one tell me how to enable and disable net-snmp log. $ snmpd -h -L toggle options controlling where to log to e: log to standard error o: log to standard output n: don't log at all f file:

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

2009-02-06 Thread Dave Shield
2009/2/5 Alexander Bubnov : > 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"); > debug_register_tokens("snmp_alarm"); > debu

Re: Multiple SNMP Applications

2009-02-06 Thread Dave Shield
2009/2/6 Michael Jeung : > 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 yes - you can ce

Re: Systems memory information wrong

2009-02-06 Thread Dave Shield
2009/2/6 victor Mendez : > 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 match, one of the servers in

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

2009-02-06 Thread Dave Shield
2009/2/5 Rodolfo Leffa : > 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 it's currently done.

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

2009-02-06 Thread Dave Shield
2009/2/5 Ragesh V : > 1 and 2 got removed when I used -e 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 this information from somewhe