Re: SNMP SET command to clone a user

2009-03-02 Thread Mark Ellison
Hi Kusuma, Please take a look at the Net-SNMP utility "snmpusm". This command line tool provides a means to add a new user via clone. Regards, Mark http://EllisonSoftware.com On 03/24/2009 11:42 PM, kusuma.bm wrote: > Hi, >i would like to know how to clone an existing user through SNM

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
This is what exactly I was looking for thank you for being of great help Bernadette Eyre -Original Message- From: dave.shi...@googlemail.com on behalf of Dave Shield Sent: Sat 2/28/2009 3:03 AM To: EYRE Bernadette Cc: Mike Ayers; net-snmp-users@lists.sourceforge.net; harish...@hp.com;

Re: UCD-SNMP-MIB returns Empty

2009-03-02 Thread Dave Shield
2009/3/2 malar vizhi : >     When I query with UCD-SNMP-MIB returns empty result. > > My cmd:: >snmpwalk -v 1 -c public 192.168.1.172 UCD-SNMP-MIB::.1.3.6.1.4.1.2021 If you are using a numeric OID, then you don't need to specify the MIB name. Either use snmpwalk .1.3.6.1.4.1.2021 o

Issue on HPUX 11.11 and net-snmp-5.4.2.1.

2009-03-02 Thread Paul Hogan
I can run the compile with no issues, but when I startup the snmpd daemon I can't get to the snmp information. It shows the daemon when I run ps -ef |grep snmp. I am using my own rocommunity setting in the snmpd.conf file. I am calling it with the -c option in the command line. I am using the H

Re: agentx related error message although agentx is disabled

2009-03-02 Thread Dave Shield
2009/3/2 : > we are running net-snmp-5.4.2.1-4.6 with SuSe Enterprise 10. > The net-snmp package has been compiled with agentx support, > but we did not enable it in the snmpd.conf configuration file > (by putting a line "master agentx"), That file is only used by the SNMP *agent* ("snmpd"). It

agentx related error message although agentx is disabled

2009-03-02 Thread jens.wienstroer
Hello, we are running net-snmp-5.4.2.1-4.6 with SuSe Enterprise 10. The net-snmp package has been compiled with agentx support, but we did not enable it in the snmpd.conf configuration file (by putting a line "master agentx"), nor did we pass the -x option to snmptrapd. Nevertheless, we can se

Re: snmptrap

2009-03-02 Thread pch0317
Thanks You very much :) Thanks again pch0317 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boos

Odd Perl error with Net-SNMP 5.4.2.1

2009-03-02 Thread Sorrell, Al
Environment: Solaris 8, SNMP Version 5.04021 (built from tarball) Perl: This is perl, v5.8.5 built for sun4-solaris I have a problem with one of my existing programs which is based on the bulkwalk.pl example from the Perl examples directory. This had worked fine in the past using SNMP V5.1.1 but

UCD-SNMP-MIB returns Empty

2009-03-02 Thread malar vizhi
Hi, When I query with UCD-SNMP-MIB returns empty result. My cmd:: snmpwalk -v 1 -c public 192.168.1.172 UCD-SNMP-MIB::.1.3.6.1.4.1.2021 What would be the problem?Is there any configuration should I made?...{ UCD-SNMP-MIB is available under mib directory...} Am using net-snmp 5.4.2 & OS

Re: Send Trap

2009-03-02 Thread Dave Shield
2009/3/2 Tanisha Kashyap : > I am writing the agent in perl. Will the functions given in the > FAQ be usable for the perl code as well. No idea. Suck it and See. A quick look at the perl agent documentation doesn't include any mention of traps, and neither does a quick scan of the perl code. So I

Re: snmptrap

2009-03-02 Thread Dave Shield
2009/3/1 pch0317 : > ok, I read this document but i don't understand it very well. > I write: > snmptrap -v 1 -c public 127.0.0.1 "a" "10.0.0.1" "c" "d" > I only know that I: > (-v 1)   use SNMPv1, > (-c public)   use password, > but I'm not sure this fields: > (127.0.0.1)   Send I trap to this hos

RE: Send Trap

2009-03-02 Thread Tanisha Kashyap
I am writing the agent in perl. Will the functions given in the FAQ be usable for the perl code as well. "If you think you can, or you think you can't...You are Right" -- Henry Ford -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Da

Re: Send Trap

2009-03-02 Thread Dave Shield
2009/3/2 Tanisha Kashyap : > Is there any function which I can use within my agent code to send a trap > when a certain condition has occurred? Please see the FAQ entry "How can I get the agent to generate a trap (or inform)?" You may also wish to look at the DisMan Event MIB section of snmpd

Re: snmptrap Tru64 V4.0F

2009-03-02 Thread Dave Shield
2009/2/27 Hoyle, Steven : > I can also send a trap as below: > # snmptrap –c public xx.xx.xx.xx “” “” 6 99 “” > And receive the Specific Trap on the monitoring host Good. Altough that particular command does assume you have defined an enterprise-specific trap #99. > but when I try to add a messag

Send Trap

2009-03-02 Thread Tanisha Kashyap
Hi, Is there any function which I can use within my agent code to send a trap when a certain condition has occurred? "If you think you can, or you think you can't...You are Right" -- Henry Ford "DISCLAIMER: This message is proprietary to Aricent and is inten

Re: Retrieve Value

2009-03-02 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. ] 2009/2/

RE: help needed with root oid and getnext operation

2009-03-02 Thread EYRE Bernadette
Hi David, One of my original problem was that when using snmpwalk command on say a column (without any instance index) of one of the tables, my subagent handler was getting called once with getnext and next with get mode. I wasn't sure if that was the expected sequence of calls. I was not seeing