Re: How to differentiate snmpwalk & snmpgetnext request

2008-05-08 Thread valantina arumugam
Yes. It's a tradeoff between consistency and up-to-date information. Finally we have to give up one. - Even if we increase the caching time, We can expect a walk req. just before the expiry of caching time which will lead to refresh of table & inconsistent data if an

Re: specific trap

2008-05-08 Thread Brian A. Seklecki
On Thu, 2008-05-08 at 19:59 +, snmp girl wrote: > hello > > I want to send a trap that contain a text for example "dba must chek > errrors" Any OID in your custom MIB (or stock MIB) that is of type "Text" could contain this. There's probably a "General Error" OID in one of the stock MIBs y

specific trap

2008-05-08 Thread snmp girl
hello I want to send a trap that contain a text for example "dba must chek errrors" so does anyone knows exactly how to write?? I already test sending traps for the generals traps like the linkup and the coldstart thanks - Th

Re: installation problems for net-snmp-5.3.1

2008-05-08 Thread Brian A. Seklecki
On Thu, 2008-05-08 at 15:40 +0530, arif hussain wrote: > before installing 5.3.1, i done make uninstall, is that ok or still i > do some more , please guide me Please provide "uname -a", config.log (URL to link), and "rpm -qvl" or "pkg_info" ~BAS --

Is it necessary to be root to install Net-SNMP

2008-05-08 Thread Raghavendra Prasad
Hi all, I have a problem when I try to install snmp agent as a non-root user. It tries to write to some root files. I am under the impression with ./configure options it should be possible configure this particular need - but I could not get any solution. Kindly clarify. With regards, Raghaven

Re: Problems monitoring HP-UX with Orion Networks Performance Monitor

2008-05-08 Thread Dave Shield
2008/5/8 Guillermo Bonilla Castano <[EMAIL PROTECTED]>: > My problem is when add the server HP-UX 11.23 in the option the menu Orion > System Manager Version 7, when i make click in "add node" , I write de ip > the my host HP-UX and the community public (Option "Add Node or Interface > to Monitor

Problems monitoring HP-UX with Orion Networks Performance Monitor

2008-05-08 Thread Guillermo Bonilla Castano
Hello My problem is when add the server HP-UX 11.23 in the option the menu Orion System Manager Version 7, when i make click in "add node" , I write de ip the my host HP-UX and the community public (Option "Add Node or Interface to Monitor") . Then i Only see the network interface, but I can'

Re: Execute script through windows

2008-05-08 Thread Murilo Fujita
    Dave,     thanks a lot your reply.     I´ll do some tries to understand Microsoft SNMP agent. If the problem persists, I´ll change to Net-SNMP.     Regards, Fujita Dave Shield wrote: 2008/5/8 Murilo Fujita <[EMAIL PROTECTED]>: I´m using cygwin and I need that Microsoft a

Re: Execute script through windows

2008-05-08 Thread Dave Shield
2008/5/8 Murilo Fujita <[EMAIL PROTECTED]>: > I´m using cygwin and I need that Microsoft agent understands the > following instruction: > > extend .1.3.6.1.4.1.30778.1 shelltest /bin/sh /home/murilo/script1.sh The Microsoft agent will *not* understand that directive. It's part of the private c

HOST-RESOURCES-MIB

2008-05-08 Thread diogo vargas marcos
Hi, How can I get the HOST-RESOURCES-MIB::hrSystemUptime.0 value from net-snmp-5.4.1-3.win32 ? How can I import the HOST-RESOURCE0MIB in net-snmp agent for windows ? Using Microsoft SNMP agent I got timeticks in miliseconds, like code above: *C:\usr\bin>snmpwalk -v 1 -c public localhost HOST-RES

Re: Execute script through windows

2008-05-08 Thread Murilo Fujita
    Anders,     thank you for reply.     I recognize I worked without concepts. In the beginning of my work I installed both (Net-SNMP and Microsoft SNMP) and I forgot the differences.     This list discuss Net-SNMP, but anybody can help me?     I´m using cygwin and I need that Microsoft agent

Re: How to differentiate snmpwalk & snmpgetnext request

2008-05-08 Thread Dave Shield
2008/5/8 valantina arumugam <[EMAIL PROTECTED]>: > 1. Say the cache time is 6 sec & XX Table contains 8 instance. > snmwalk request comes at 3 rd sec No. The loading of the cache would typically be triggered by the first SNMP request. So the beginning of the snmpwalk request would

Re: How to differentiate snmpwalk & snmpgetnext request ?

2008-05-08 Thread valantina arumugam
We had implemented the third option which you said with cache time of 6 sec. And that too have some problem. 1. Say the cache time is 6 sec & XX Table contains 8 instance. snmwalk request comes at 3 rd sec and has displayed say 4 instance details. At this time ca

RE: How to differentiate snmpwalk & snmpgetnext request ??

2008-05-08 Thread Pamidipati Suresh-G20238
Thanks Dave for the detailed explanation. I overlooked the limitation of snmpwalk even after Valantina has given the example. Thanks, Suresh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, May 08, 2008 3:40 PM To: Pamidipa

Re: How can I support ssh; also at the same time, designate the commands can be found and executed?

2008-05-08 Thread Dave Shield
2008/5/8 wenk-yahoo <[EMAIL PROTECTED]>: > Now I'm developing a embedded device program.I want to provide SSH for the > users. > > I also want to limit users to browse and execute only my commamds . That doesn't sound anything to do with the Net-SNMP software. If you're writing this embedded shel

Re: How to differentiate snmpwalk & snmpgetnext request ??

2008-05-08 Thread Dave Shield
2008/5/8 Pamidipati Suresh-G20238 <[EMAIL PROTECTED]>: > Regarding the example you mentioned, why do you want to gather all the > instances of the table in the 1st getnext itself when snmpwalk is given.? I believe that Valantina is concerned about the data changing while the walk is taking place.

installation problems for net-snmp-5.3.1

2008-05-08 Thread arif hussain
I want to install net-snmp-5.3.1, but it gives these errors * $./configure $make . . . . host/hr_swinst.c:44:24: error: rpm/rpmlib.h: No such file or directory host/hr_swinst.c:45:24: error: rpm/header.h: No s

How can I support ssh; also at the same time, designate the commands can be found and executed?

2008-05-08 Thread wenk-yahoo
Now I'm developing a embedded device program.I want to provide SSH for the users. I also want to limit users to browse and execute only my commamds . Such as export/ls/find/cat/ fdisk/cd/rm/top/su etc., are forbidded[especially 'export ']. It looks like: [EMAIL PROTECTED] /#ssh 192.168.0.6

RE: End of MIB

2008-05-08 Thread Sathasivam, Elayaraja
Oops... Its working...Thanks for all your support. Thanks & Regards, ElayaRaja _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, May 08, 2008 2:56 PM T

Re: End of MIB

2008-05-08 Thread Dave Shield
2008/5/8 Sathasivam, Elayaraja <[EMAIL PROTECTED]>: > $cat /etc/snmp/snmpd.conf' Stripping out all the comments leaves: > com2sec notConfigUser default public > group notConfigGroup v1 notConfigUser > group notConfigGroup v2c notConfigUser > viewsystemviewi

RE: End of MIB

2008-05-08 Thread Sathasivam, Elayaraja
Thanks for your reply. Please find the output as follows, $cat /etc/snmp/snmpd.conf' ### # # snmpd.conf: # An example configuration file for configuring the ucd-snmp snmpd agent. # ###

RE: How to differentiate snmpwalk & snmpgetnext request ??

2008-05-08 Thread Pamidipati Suresh-G20238
As far as I know, we can not distinguish whether the snmpgetnext request received is from snmpwalk executable or snmpgetnext itself. Regarding the example you mentioned, why do you want to gather all the instances of the table in the 1st getnext itself when snmpwalk is given.? Ideally the agent/

RE: How to differentiate snmpwalk & snmpgetnext request ??

2008-05-08 Thread Pamidipati Suresh-G20238
Hi Valantina, Snmpwalk is nothing but a series of snmpgetnext requests. For the given OID, snmpwalk first sends an snmpgetnext request. After receiving the response for the getnext, it retrieves the OID from the response and then sends snmpgetnext request on this OID. This way snmpgetnext request

Re: End of MIB

2008-05-08 Thread Dave Shield
2008/5/8 Sathasivam, Elayaraja <[EMAIL PROTECTED]>: > Please note I am not using two different version. Not two versions of the software Two versions of SNMP requests. The working command used SNMPv2c, the failing one used SNMPv1. It was never likely that this would be relevant, but it was wort

Re: Re: Re: strange that trapsess causes Segmentation fault when running

2008-05-08 Thread Dave Shield
2008/5/7 Dave Shield <[EMAIL PROTECTED]>: > OK - I've managed to reproduce the problem. > > It also seems to be fixed in the current development code. > It's just the released versions that suffer from this problem. Wrong. It *is* still present in the current development code. (It was a different

RE: End of MIB

2008-05-08 Thread Sathasivam, Elayaraja
Hi, Please note I am not using two different version. I have uninstalled other unwanted versions. Find the output as follows, 1)$snmpgetnext -v 1 -c public localhost system SNMPv2-MIB::sysDescr.0 = STRING: Linux ofrdev-india-infra 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 2)$snmp

Re: End of MIB

2008-05-08 Thread Dave Shield
2008/5/8 Sathasivam, Elayaraja <[EMAIL PROTECTED]>: > I can able to do snmpwalk with the help of command "snmpwalk -v 2c -c > public localhost system" why its not working with the "snmpwalk -v 1 -c > public localhost versiontag" please find the output as follows, Firstly, you are using two differ

Re: How to differentiate snmpwalk & snmpgetnext request ?

2008-05-08 Thread Dave Shield
2008/5/8 valantina arumugam <[EMAIL PROTECTED]>: > Is there a way to differentiate the request from snmpwalk & > snmpgetnext ? No. As Suresh has said, there is no such thing as an "snmpwalk" request. The agent will simply receive a GETNEXT request. The structure of this is standard and will loo

End of MIB

2008-05-08 Thread Sathasivam, Elayaraja
I can able to do snmpwalk with the help of command "snmpwalk -v 2c -c public localhost system" why its not working with the "snmpwalk -v 1 -c public localhost versiontag" please find the output as follows, $snmpwalk -v 1 -c public localhost versiontag End of MIB $ snmpwalk -v 2c -c pu