Fwd: Problem

2007-04-18 Thread kian
Note: forwarded message attached. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Begin Message --- Hello, I have problem, Please help me. I recived these errors : snmpd[1078]: error on s

XAMPP and NET-SNMP

2007-04-18 Thread James Hill
I am trying to get NET-SNMP working on a red hat box with XAMPP installed. Is there someone who has had any luck doing this? -- J Hill - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Fwd: Re: Re: Re: Re: snmptranslate can't read a specefic object name

2007-04-18 Thread Reza Salehi
Hi Dave, in var/net-snmp there are following files: snmpd.confsnmptrapd.conf example-demon.conf and output of snmptranslate -Dparse_mibs REZA::MIB::rezaTemperature is below: parse-mibs: adding Module 51 'StorageType' 10 parse-mibs: Processing IMP

Re: net-snmp subagent compatibility

2007-04-18 Thread Dave Shield
On 03/04/07, Sukwoo Kang <[EMAIL PROTECTED]> wrote: > Thank you for your reply. However, in our case, we cannot use static linking > because of support issues and so on. Could you think about any other way to > distribute subagent without dependency to net-snmp version and/or configure > options?

Re: CPU idle refresh time

2007-04-18 Thread Dave Shield
On 04/04/07, Carles Pina i Estany <[EMAIL PROTECTED]> wrote: > > Everything worked fine... but I see that CPU Idle time and other CPU > > variables are not updated. Disk usage it is updated (I create some big > > files, and disk usage changes) > > reading the FAQ I see that I should read ssCpuRawId

Re: Unable to query lm_sensors MIB

2007-04-18 Thread Dave Shield
On 16/04/07, Benton Roberts <[EMAIL PROTECTED]> wrote: > snmpwalk -v 2c -c -m ALL localhost .1.3 | grep SEN > returns: >HOST-RESOURCES-MIB::hrSWRunParameters.17211 = STRING: "SEN" > > Does that object represent sensor data? No. That is simply reporting the command that you're running (i.e. th

Re: Re: Re: Re: snmptranslate can't read a specefic object name

2007-04-18 Thread Dave Shield
On 11/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > There is no index file in /var/net-snmp directory. OK - what is the exact output of running ls /var/net-snmp ? And what is the debug output from snmptranslate -Dparse-mibs REZA-MIB::myObject Dave ---

Re: How to retrieve a MIB module from sub agent

2007-04-18 Thread Dave Shield
On 11/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > I am just wonder if there is any sample code or hint about how to retrieve a > running MIB module(inside sub agent) once its content gets changed via a SET > command . Sorry - it's not clear precisely what you mean by that. Are you asking how t

Re: configuration scripts.

2007-04-18 Thread Dave Shield
On 10/04/07, Lakshmeesha Manja <[EMAIL PROTECTED]> wrote: > I wanted the information about the cofiguration scripts used in the > mib files. After complilation of my mib file what next steps should I do to > implement the SNMP operations to my own mibs.Kindly tell the steps or the > resourc

Re: Cannot send trap from my trapdaemon

2007-04-18 Thread Dave Shield
On 05/04/07, maciej_golas <[EMAIL PROTECTED]> wrote: > I developed my own trap receiver programm called trapd based on snmptrapd. > Whe this func is run and I've this error: > send_trap: no v2 trapOID varbind provided > > Could you tell me what's wrong with my function? Can't spot anything obvio

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-18 Thread Lothar Werzinger
On Wednesday 18 April 2007 12:02, you wrote: > On 18/04/07, Dave Shield <[EMAIL PROTECTED]> wrote: > > So the problem lies with the subagent, in the encoding of the response. > > It's got the two halves of the counter64 value the wrong way round. > > Hmmm... > on closer inspection - no, it hasn't

question about snmp_alarm_register_hr()

2007-04-18 Thread Reza Salehi
Hi friend, I used snmp_alarm_register_hr() to register a handler and call it every 60 seconds.Inside that subroutine I want to run another timer with duration of 1 second but I cant use the snmp_alarm_register() again..It seems it holds that request pending and after the first subroutine i

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-18 Thread Dave Shield
On 18/04/07, Dave Shield <[EMAIL PROTECTED]> wrote: > So the problem lies with the subagent, in the encoding of the response. > It's got the two halves of the counter64 value the wrong way round. Hmmm... on closer inspection - no, it hasn't. It looks as if the problem lies in the parsing of Coun

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-18 Thread Lothar Werzinger
On Wednesday 18 April 2007 01:36, Dave Shield wrote: > OK - I'm beginning to see what might be going wrong. > > Note that Flags is 0x0, so according to RFC 2741, section 6.1: > > The NETWORK_BYTE_ORDER bit applies to all multi-byte integer > values in the entire AgentX packe

CPU utilization

2007-04-18 Thread Ro
Hello ! How can i get the processor utilization statistics or its load average when i running net-snmp under windows ? table .1.3.6.1.2.1.25.3.3.1.2 not present and .1.3.6.1.4.1.2021.10.1.5.[1-3] values not filled too. -- Roman Shubovich IT departament Closed Joint-Stock Company "MPK" -

Re: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread Dave Shield
On 18/04/07, M, Somashekhar (Somashekhar) <[EMAIL PROTECTED]> wrote: > I am giving the agent's engineID Sorry, you're quite correct. That's a more sensible engine ID when sending a TRAP notification (though not for an INFORM). > and this will be discovered by Mib Browser. Errr no

make install putting perl files in wrong location

2007-04-18 Thread Hamster
Hello, I am trying to compile net-snmp 5.4 from source on an Ubuntu system. I am using a ./configure line that looks like: ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --with-persistent-directory=/var/lib/snmp --enable-embedded-perl When I run make install, the perl module

RE: Problem

2007-04-18 Thread Ward, Martin
Kian, When do you get these errors? What are you doing when they appear? I have seen similar errors cause by a syntax error in the snmpd.conf. |\/|artin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of kian > Sent: 18 April 2007 12:53 > To: net

Problem

2007-04-18 Thread kian
Hello, I have problem, Please help me. I recived these errors : snmpd[1078]: error on subcontainer 'ia_addr' insert (-1) snmpd[1078]: error on subcontainer '' insert (-1) Please, say to me how resolve these errors. Thanks. __ Do You Yahoo!? Tired o

RE: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread M, Somashekhar (Somashekhar)
Hi Dave, I am giving the agent's engineID and this will be discovered by Mib Browser. This should not be problem. Now in snmptrapd.conf I am seeing usmUser entry being replaced. I tried to send the trap still it is not reaching the mib browser, with tcpdump I am able to see the trap has been sen

using Single API

2007-04-18 Thread Gal Waldman
In README.thread.html it states that " 5. Using the callback mechanism for asynchronous response PDUs requires additional caution in a multi-threaded application. This means a callback function probably should probably not use Single API calls to further process the session. "

Re: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread Dave Shield
On 18/04/07, M, Somashekhar (Somashekhar) <[EMAIL PROTECTED]> wrote: > I am getting the engine Id as follows from the machine. > > function getEngineID() > { > SNMPD_CONF=/root/net-snmp/snmpd.conf [snip] > The engine id got from this passed to snmptrap command. So you are using the en

RE: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread M, Somashekhar (Somashekhar)
Forgot to do reply all.. -Original Message- From: M, Somashekhar (Somashekhar) Sent: Wednesday, April 18, 2007 3:15 PM To: 'Dave Shield' Subject: RE: Net-snmp-users Digest, Vol 11, Issue 25 I am getting the engine Id as follows from the machine. function getEngineID() { SNMPD_CONF=/r

Re: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread Dave Shield
On 18/04/07, M, Somashekhar (Somashekhar) <[EMAIL PROTECTED]> wrote: > /root/net-snmp/bin/snmptrap -e -u MyUser -A MyPassword -a > MD5 -x DES -X NewPassword -l authpriv running>:162 '' > > This is the command being used. No - what is the *exact* command? In particular, what are you using for

Re: ASN_COUNTER64 weirdness in agentx agent

2007-04-18 Thread Dave Shield
On 17/04/07, Lothar Werzinger <[EMAIL PROTECTED]> wrote: > > I probably need to sit down with the AgentX and SNMP > > specs, and work through exactly how these value > > ought to be encoded, and what is going wrong. > > > > But can you please try the same exercise using the > > command-line option

RE: Net-snmp-users Digest, Vol 11, Issue 25

2007-04-18 Thread M, Somashekhar (Somashekhar)
Hi Dave, /root/net-snmp/bin/snmptrap -e -u MyUser -A MyPassword -a MD5 -x DES -X NewPassword -l authpriv :162 '' This is the command being used. Snmptrapd.conf is as follows: # # net-snmp (or ucd-snmp) persistent data file. # #