Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
hi... ans to your questions in Steps(i am new to SNMP): 1) Dont kw? 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 3)Dont know(How to do)? 4)How

Re: query: actual date and time of a server

2010-07-14 Thread Dave Shield
On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes

RE: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Randall C Grimshaw
No luck in forcing the IP-MIB. I guess I do not understand the DISPLAY-HINT association. The type is clearly defined in the MIB files and do not know why it would not be considered a bug that a MAC address that does not start with 00:xx:xx does not display properly. Randy -Original

Re: Net-SNMP Trap Agent start error

2010-07-14 Thread Bart Van Assche
On Tue, Jul 13, 2010 at 12:23 PM, Markus Hofer markus_ho...@gmx.at wrote: I got a problem with starting the Net-SNMP Trap Agent under windows xp I use the Net-SNMP version 5.4.2.1 I have the following configurations in C:\usr\etc\snmp\snmptrapd.conf createUser -e 0x81020304

problem with snmpbulkget

2010-07-14 Thread Martin Townsend
Hi, I am seeing a problem sending BULKGET snmp messages for non-repeater values. If you specify the instance number then it retrieves the incorrect value. e.g. using snmpbulkget on our router. r...@ts7800:snmpd# snmpbulkget -v2c -Cn2 -Cr0 -c public 192.168.0.1 sysLocation.0 ifIndex.1

Re: Net-SNMP Trap Agent start error

2010-07-14 Thread Markus Hofer
Yeah thanks that was the problem! so for others, who might have the same problem: go to the commandline and do the following things net stop MG-SOFT SNMP Trap Service than you should get a conformation that the agent has successfully stopped net start NET-SNMP Trap Handler thats it THX again

Re: problem with snmpbulkget

2010-07-14 Thread Dave Shield
On 14 July 2010 11:41, Martin Townsend martin.towns...@power-oasis.com wrote: I am seeing a problem sending BULKGET snmp messages for non-repeater values.  If you specify the instance number then it retrieves the incorrect value. e.g. using snmpbulkget on our router. r...@ts7800:snmpd#

net-snmp 5.5 on solaris zone

2010-07-14 Thread SREENIVAS P
Hi, I am trying to run net-snmp 5.5 on solaris 10 zone. snmpd is not working,creating a memory leak and i found following entries in the log. Any suggestions please? prtstat -a PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 12519 root 1846M 1842M cpu45 1 0 1:59.05 3.1% snmpd/1

Using -Z option with snmpget command

2010-07-14 Thread Lewis Adam-VNQM87
I'm doing some testing and am trying to avoid the discovery exchange which commands like snmpget, snmpgetnext, etc use to get the engine ID, engineBoots, engineTime. I set the -Z option which is accepted but when I look at the wireshark trace, I can see the first packet still gets sent with

Re: problem with snmpbulkget

2010-07-14 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 14

strange problem running script through net-snmp extend

2010-07-14 Thread Luke Salsich
All, Thanks Dave for your help earlier in the week with getting my basic extend setup correctly. I have enjoyed the (hard road) of learning more about SNMP. It's been a tough learning curve so far, but I think the understanding will pay off in a big way. It's got so much potential for my work.

Support for AIX 7.1

2010-07-14 Thread Lissa Valletta
I build net-snmp for AIX for the xCAT project. You currrently have compiler directives in it that only cover through aix6. aix7 comes out soon. Can you update the code to support aix 7. Thanks! Lissa K. Valletta 414/3-8 Poughkeepsie, NY 12601 (tie 293) 433-3102

Help required wrt configuring serverRecvBuf parameter

2010-07-14 Thread Trupti V.Kulkarni
Hello, Thank you for accepting my subscription for net-snmp. I have been trying to find out the reason for snmptrapd to drop traps, and found upon searching on Google that many have faced the same problem. I found that the parameter *serverRecvBuf* can be increased by specifying the value in

Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Fulko Hew
On Tue, Jul 13, 2010 at 3:15 PM, Randall C Grimshaw rgrim...@syr.eduwrote: No luck in forcing the IP-MIB. I guess I do not understand the DISPLAY-HINT association. The type is clearly defined in the MIB files and do not know why it would not be considered a bug that a MAC address that does

Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Fulko Hew
On Wed, Jul 14, 2010 at 12:16 PM, Randall C Grimshaw rgrim...@syr.eduwrote: Fulko: Your assistance is greatly appreciated. I apologize for making you want to don the lawyers hat, that was not my intention. But could you find your technicians hat for a moment. ... snip ... Can

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Build net-snmp on AIX 7.1

2010-07-14 Thread Lissa Valletta
There are a lot of compiler directives for up to aix6, but I need to build on aix7 which is coming out soon. Do you have an easy way to build on aix7 or can you provide us source code that support AIX 7.1. Thanks. Lissa K. Valletta 414/3-8 Poughkeepsie, NY 12601 (tie 293) 433-3102

Monitoring CPU steal?

2010-07-14 Thread Krisztian Mizser
Hi, In today's virtualized environments it's getting more important to monitor the CPU steal parameter. Top and vmstat have been supporting this for a while. I'm wondering if there's any work being done to implement this in net-snmp? Thanks, Krisztian

RE: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Randall C Grimshaw
Fulko: Your assistance is greatly appreciated. I apologize for making you want to don the lawyers hat, that was not my intention. But could you find your technicians hat for a moment. I am able to reproduce the effect by spoofing different MAC addresses. There are a number of

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Re: query: actual date and time of a server

2010-07-14 Thread Dave Shield
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) OK - so the firewall was part of the problem. But there's clearly something else - probably

Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Dave Shield
On 14 July 2010 18:11, Fulko Hew fulko@gmail.com wrote:  poking around on my system I tried: # snmpwalk -c public -v1 localhost ipNetToMediaPhysAddress IP-MIB::ipNetToMediaPhysAddress.2.10.20.101.1 = STRING: 0:13:60:d:3d:90 Note that you are picking up the definition of the

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Fulko Hew
On Wed, Jul 14, 2010 at 3:33 PM, Randall C Grimshaw rgrim...@syr.eduwrote: Dave (cc: Fulko, etc) When I tried to remove the RFC1213-MIB the apps fail. ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.443: Unknown Object Identifier (Sub-id not found: (top) - ip) The only

RE: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Randall C Grimshaw
Dave (cc: Fulko, etc) When I tried to remove the RFC1213-MIB the apps fail. ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.443: Unknown Object Identifier (Sub-id not found: (top) - ip) The only DISPLAY-HINT I can find in IP-MIB to use as an example is for

Re: query: actual date and time of a server

2010-07-14 Thread vineet gehlot
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree)     2) i checked the agent it is open for remote requests. tell what should i do know... --- On

Re: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Dave Shield
On 14 July 2010 20:33, Randall C Grimshaw rgrim...@syr.edu wrote: When I tried to remove the RFC1213-MIB the apps fail. ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress.443: Unknown Object Identifier (Sub-id not found: (top) - ip) You need to remove the RFC1213-MIB *and*

RE: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Randall C Grimshaw
When I add PhysAddress FROM SNMPv2-TC To the IMPORTS list in the RFC1213-MIB.txt file - it works (albeit it changes the PHP formatting to require the use of the snmp_set_quick_print(TRUE); and snmp_set_valueretrieval(0); functions) Is this safe to adopt in production?

RE: snmpget and snmpwalk return corrupt string instead of hex string when MAC address starts with non zero

2010-07-14 Thread Randall C Grimshaw
The files are there. Yes this shows that I have been editing IP-MIB but I have copied the original back. In another message: I recently discovered that editing the IMPORT line in RFC1213 works... I wonder if this is related to my compiling with --enable-old-features Thank you. # ls -al

RE: SNMP SET of sysLocation and sysContact

2010-07-14 Thread Doroubo Doroubo
Hi Dave, I already made a work around on my problem. I thank you very much for your help. I really learned a lot. What I did was read the psyslocation and psyscontact in /var/net-snmp/snmpd.conf and update my snmpd.conf defined in SNMPCONFPATH before my application starts again using the