snmptrap

2006-08-03 Thread Jonathan Shan
Hello everybody, I am trying to learn snmptrap. So I issue some commands from http://net-snmp.sourceforge.net/docs/FAQ.html#How_do_I_send_traps_and_notifications_ But I get an error: read_config_store open failure on /var/lib/snmp/snmpapp.conf How can I fix this? Jonathan Shan ---

Re: Handlng of Multilpe varbing PDU

2006-08-03 Thread Dave Shield
On 03/08/06, Amit Gupta <[EMAIL PROTECTED]> wrote: > Thanx for the response. Actually other than consistency check, i need to > do some more processing in one go. But the same general approach can be used. >> when i get a set request from > above layer manager, i need to get/set the data on lowe

Re: Handlng of Multilpe varbing PDU

2006-08-03 Thread Amit Gupta
Hi dave, Thanx for the response. Actually other than consistency check, i need to do some more processing in one go. Actually I am using NetSNMP as a EMS agent (mid level agent) and now when i get a set request from above layer manager, i need to get/set the data on lower layer components whic

Re: Does net-snmp support Unicode?

2006-08-03 Thread Dave Shield
I don't believe so, no. Volunteers (or corrections) always welcome Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & b

Does net-snmp support Unicode?

2006-08-03 Thread Makavy, Erez (Erez)
  thank, Erez. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http:/

Re: newbie question

2006-08-03 Thread Dave Shield
On 03/08/06, Marius Banica <[EMAIL PROTECTED]> wrote: > I am running net snmp 5.0.9 > I want to send snmptrap to a host when my link of the network interface goes > down and when it comes up Step 1: Upgrade to 5.3.1 Step 2: Read the snmpd.conf(5) man page, under "ACTIVE MONITORING" In prati

Re: Using hex strings

2006-08-03 Thread Dave Shield
On 03/08/06, yuva raj <[EMAIL PROTECTED]> wrote: > I am realy thank ful to you sir, can you plese tell me, which of the > setting convention for hex value is true > > x 1122334455 > x 0xff fe ee 00 Try it. Use the '-d' flag to snmpset, as I suggested yesterday. You should be able to see from t

newbie question

2006-08-03 Thread Marius Banica
Hello I tried using the documentation but without success so I have a simple question   Iam running net snmp 5.0.9   I want to send snmptrap to a host when my link of the network interface goes down and when it comes up   I want to use snmptrap command   I tried the syntax and usin

Re: Handlng of Multilpe varbing PDU

2006-08-03 Thread Dave Shield
On 03/08/06, Amit Gupta <[EMAIL PROTECTED]> wrote: > Now the problem is that my handler function are independent and NetSNMP > toolkit itself call this one by one and i process > each of the varbind as if they are coming in multiple PDU from manager only. The Net-SNMP agent processes one SET reque

Re: Net-SNMP for hpux 10.20

2006-08-03 Thread Thomas Anders
Dave Shield wrote: > If that's not working, try running > > snmpd -f -Le -Dread_config --quit > > The first couple of lines will indicate where the agent is looking for > config files. "net-snmp-config --snmpconfpath" is even easier, I think. +Thomas -- Thomas Anders (thomas.anders at bl

Multiple Varbind PDU.

2006-08-03 Thread Amit Gupta
Hi All, I am using Netsnmp 5.1.4 to develop a SNMP agent supporting V2c. I have a requirement to perform Snmp SET request send by the Manager as one command. Now if my SNMP SET PDU has multiple varbinds in it, so i should be able to handle all of this as one or somehow i could detect the start

Re: Using hex strings

2006-08-03 Thread yuva raj
I am realy thank ful to you sir,  can you plese tell me, which of the setting convention for hex value is true x 1122334455 x 0xff fe ee 00 Is there any limit for length that we specify.what if we dont specify 0xOn 8/2/06, Dave Shield <[EMAIL PROTECTED] > wrote:On 02/08/06, yuva raj <[EMAIL PROTE

RE: Net-SNMP for hpux 10.20

2006-08-03 Thread Doug Anderson
Title: RE: Net-SNMP for hpux 10.20 What directory does it go in I tried /usr/local/etc/snmpd.conf and /usr/local/etc/snmp/snmpd.conf And they both did not work.  Net-snmp Version 5.2.2  hpux 10.20 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Da

RE: Net-SNMP for hpux 10.20

2006-08-03 Thread Doug Anderson
Title: RE: Net-SNMP for hpux 10.20 This is the error I get when I run the Perl script  @ccchpc09::super_ /opt/net-snmp/bin> perl snmpconf -g basic_setup Can't locate Data/Dumper.pm in @INC (@INC contains: /opt/perl5/lib/PA-RISC1.1/5.00404 /opt/perl5/lib /opt/perl5/lib/site_perl/

RE: Net-SNMP for hpux 10.20

2006-08-03 Thread Doug Anderson
Title: RE: Net-SNMP for hpux 10.20 There was no read me file on how to install it so I just gunzip and un-tar the file. It was a binary for hpux 10.20 it said and snmpget -V  works. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shield Sent:

Re: monitor cpu AND memory?

2006-08-03 Thread Dave Shield
On 03/08/06, Leo Lei <[EMAIL PROTECTED]> wrote: > can i monitor the cpu idle time AND memory usage and then send a trap? Yes. The memory usage should be covered by the "defaultMonitors" directive. Monitoring the CPU usage would require a separate "monitor" entry, but you can use the other

Re: Net-SNMP for hpux 10.20

2006-08-03 Thread Dave Shield
On 02/08/06, Doug Anderson <[EMAIL PROTECTED]> wrote: > What directory does it go in It depends on how the software was configured originally. > I tried /usr/local/etc/snmpd.conf and /usr/local/etc/snmp/snmpd.conf /usr/local/etc/snmpd.conf should be on the search path (assuming a default configu