Problem in sendind traps from daemon.

2008-11-21 Thread Shrawan Patel
Hi friends, I am using net-snmp-5.4.1.2 in my window system(Window-XP). I have generated the template codes by the help of "mib2c" command. I have made proper changes in template coding to perform all the GET & SETs operations. Now I want to send traps from my agent and for that I made changes

Exec string with OID doesnt work

2008-11-21 Thread Brent Jones
All, I'm trying to execute a script to assign the output to a special OID. It has worked for many of my machines in the past, but when I try to do so now, it will not let me assign an OID to it. It will work if I leave the OID field blank. Heres a little bit of info: NET-SNMP version: 5.4.2.1 Fre

RE: snmp_parse_oid size error

2008-11-21 Thread Mike Ayers
> From: Fred [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2008 4:53 PM > server. But on FreeBSD i have the following error: > > IF-MIB::ifInOctets = No Such Instance currently exists at this OID ^^ L(..)k carefully > GETNEXT message > -- IF-MIB::i

snmp_parse_oid size error

2008-11-21 Thread Fred
Hello, I use Net-SNMP librairie to do a SNMP poller aplication. On windows it work well and i can get the value of my snmp server. But on FreeBSD i have the following error: IF-MIB::ifInOctets = No Such Instance currently exists at this OID The log of snmpd contains: Connection from UDP: [1

Re: netsnmp with perl 64 bit handling

2008-11-21 Thread Roy M. Silvernail
On Sat, Nov 22, 2008 at 12:46:57AM +0530, Ambika Tripathy wrote: > And my snmpd version is net-snmp-5.0.11.2 and sorry to mention that I had > modified the agent\mibgroup\mibII\interfaces.c file to handle long long type > integer. Today I show the 5.4.2.1 version supports 64 but not the 5.0.11.2 >

extending snmpd.conf defaults to type string

2008-11-21 Thread ntwrkd
Hello List, I have extended my snmpd.conf to export some custom application data. : exec 1.3.6.1.4.1.2008.2600.100.1.1 hibernate_QueryCacheHitCount_vm1 /bin/cat /var/log/applogs/jvmstats/hibernate_QueryCacheHitCount The value is an INT but by default when I poll it using snmpwalk the data type d

RE: netsnmp with perl 64 bit handling

2008-11-21 Thread Ambika Tripathy
Hi Mike, >From the actual output string is: snmpwalk -v 1 -c public localhost | grep Octets IF-MIB::ifInOctets.1 = Counter32: 8461246 IF-MIB::ifInOctets.2 = Counter32: 28868802 IF-MIB::ifInOctets.3 = Counter32: 1120513328970 IF-MIB::ifOutOctets.1 = Counter32: 8463031 IF-MIB::ifOutOctets.2 = Count

RE: pr_size value in psinfo for 64 bit applications on Solaris 10

2008-11-21 Thread Mike Ayers
You may want to post this to the net-snmp-coders list instead, as it seems more up their alley. HTH, Mike > -Original Message- > From: Frans Grotepass [mailto:[EMAIL PROTECTED] > Sent: Friday, November 21, 2008 2:02 AM > To: net-snmp-users@lists.sourceforge.net > Subj

RE: netsnmp with perl 64 bit handling

2008-11-21 Thread Mike Ayers
> From: Ambika Tripathy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2008 9:53 PM > Thanks for your suggestion. If we this about 32 bit > counters the max > value it can hold is 4294967295. But how the > > #snmpwalk -v 1 -c pubic 10.4.0.151 | grep Octet returns such > a huge

Re: pr_size value in psinfo for 64 bit applications on Solaris 10

2008-11-21 Thread Frans Grotepass
Frans Grotepass wrote: > Hi, Firstus postus We use Net-SNMP for system health inspection. We noticed > that our 64 bit apps did not report their pr_size variable from the psinfo > struct correctly. Some info on the web shows that checking with a 32 bit > application give incorrect values for 64