RE: I don't know why the table iterator works well on snmp v1 but it doesn't work on snmp v2c or v3!

2009-06-24 Thread 김은영
Hi... > What are the access control settings in your snmpd.conf file? > ==> > These are the part of the settings. > > com2sec private localhost private > rocommunity public > rwcommunity private > Urghh! No - don't mix "com2sec" and "r?community" direct

Is UCD-SNMP-MIB replaced by HOST-RESOURCE-MIB?

2009-06-24 Thread PoWah Wong
Is UCD-SNMP-MIB replaced by HOST-RESOURCE-MIB? In particular, Is memTotalSwap replaced by hrStorageSize? Is memAvailSwap replaced by hrStorageSize? Is memMinimumSwap replaced by hrStorageSize? Is memTotalReal replaced by hrMemorySize? Is memAvailReal replaced by hrMemorySize? Is memTotalFree repla

RE: Problem with snmpwalk

2009-06-24 Thread Mike Ayers
> From: manu@wipro.com [mailto:manu@wipro.com] > Sent: Tuesday, June 23, 2009 5:39 AM > Whenever I do an snmpwalk from another machine (running) to > the new MIB, the agent responds properly most of the times. > But once in 10 runs (approximately), I get the following error: > > Error

Snmpd pass

2009-06-24 Thread Tyler Smith
I am trying to use the SNMPD pass command in version 5.1.2 built for openwrt on a powerpc. My exec commands in the same snmpdconf file work perfectly. The pass command seems to never even execute. If i change the pass to an exec, I get the errors output as if nothing is being passed in, which seems

FW: calling init_mib() to reload SNMP MIBs

2009-06-24 Thread Samer Vazdekis
I managed to reload MIB file. But instead calling init_mib(), I'm calling the following functions, add_mibdir("/usr/local/share/snmp/mibs/"); init_mib_internals(); read_all_mibs(); I'm afraid however that I might get a memory leak!. Should I call unload_all_mibs() before?. From: sbazd.

v5.4.1 traps generated at snmpd startup

2009-06-24 Thread Ron Rader
I realize this is nearly a FAQ, but my v5.4.1 snmpd agent generates a whole host of traps at startup (linkUp/Down, authenticationFailure, etc.) when a trap host is configured. Is there any way to suppress startup trap generation while leaving trap hosts configured with v5.4.1? How about any l

calling init_mib() to reload SNMP MIBs

2009-06-24 Thread Samer Vazdekis
Hi, After my net_snmp agent is initialized and while operating, I'm configuring its signal handler to reload the MIBs upon receiving a HUP signal. I am simply calling init_mib() from my signal handler. This is not working for me!. I'm pronting the mib tree after reload and I don't see new MIB

MailScanner and Mail Stats

2009-06-24 Thread Hampton, Michael
Hi there, I have been running sendmail. To monitor the queues I have been looking at the data under the MIB mtaGroupStoredMessages and mtaGroupStoredVolume. I decided to install MailScanner to add antivirus and antispamming. MailScanner works by reading all the mail that is placed in sendmails

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread PoWah Wong
--- On Wed, 6/24/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: snmptrapd.conf: Error: bad security level (noauthnopriv, > authnopriv, authpriv) > To: "PoWah Wong" > Cc: "net-snmp-users" > Received: Wednesday, June 24, 2009, 10:27 AM > 2009/6/24 PoWah Wong : > >> What happens if

Re: Problems with ignoreDisk

2009-06-24 Thread Dave Shield
2009/6/24 Olivier : > in my snmpd.conf, i tried so many options, such as : > > - declaring "disk /, disk /var, disk /usr, ignoredisk /VDL01, ignoredisk > /vdltmp etc." > - declaring the same, with raw device name (/dev/mapper/VG.. etc.) > - declaring "includealldisks + ignoredisk" > - declaring "di

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread Dave Shield
2009/6/24 PoWah Wong : >> What happens if you replace the "authUser" line with an >> entry >> >>     disableAuthorization yes >> >> and restart the trap receiver (without the '-d' flag) > My trap config file, restart the trap receiver but do not see traps logged: Ok - so the problem is nothing

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread PoWah Wong
--- On Wed, 6/24/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: snmptrapd.conf: Error: bad security level (noauthnopriv, > authnopriv, authpriv) > To: "PoWah Wong" > Cc: "net-snmp-users" > Received: Wednesday, June 24, 2009, 9:54 AM > 2009/6/23 PoWah Wong : > > Adding "-d" see a

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread Dave Shield
2009/6/23 PoWah Wong : > Adding "-d" see a raw packet dump. OK - so the trap receiver *is* seeing the trap. > Why without it nothing appear after the "NET-SNMP version 5.4.1" line? I don't know - that's what we're trying to find out. > authuser log,execute admin /home/powah/snmp/trapstouch tes

Problems with ignoreDisk

2009-06-24 Thread Olivier
Hi all, I'm having a small problem I'm trying to "exclude" some resources from beeing polled for example here : [r...@spl-bkp-001 ~]# df -hl FilesystemSize Used Avail Use% Mounted on /dev/mapper/VG00-LV00 2.0G 369M 1.5G 20% / /dev/mapper/VG00-LV02

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread PoWah Wong
--- On Wed, 6/24/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: snmptrapd.conf: Error: bad security level (noauthnopriv, > authnopriv, authpriv) > To: "PoWah Wong" > Cc: "net-snmp-users" > Received: Wednesday, June 24, 2009, 3:26 AM > 2009/6/23 PoWah Wong : > > I send a test trap

Re: I don't know why the table iterator works well on snmp v1 but it doesn't work on snmp v2c or v3!

2009-06-24 Thread Dave Shield
2009/6/24 김은영 : > What are the access control settings in your snmpd.conf file? > ==> > These are the part of the settings. > > com2sec private localhost private > rocommunity public > rwcommunity private > Urghh! No - don't mix "com2sec" and "r?communi

Help to develop Embedded SNMP Agent using microC/OS-II.

2009-06-24 Thread purushotam rao
Dear Sir, For my embedded snmp project I am using microC/OS-II platform, Niche TCP/IP stack and Net-Snmp stack. My MIB file is compiled and tested for working with evaluation tools. MIB is working fine. Now *I* would like to know the development procedure for "Embedded SNMP Agent". Thanks & Regar

RE: I don't know why the table iterator works well on snmp v1 but it doesn't work on snmp v2c or v3!

2009-06-24 Thread 김은영
First of all, thank you for your rapid reply, Dave. > There are 3 tables in my MIB and I implemented the sub-agent to retrieve > these tables through the table iterator helper. (mib2c.iterate.conf) > > When I get the table via snmp v1, it works well. > > But if I try to get those via snmp v2c or v

Re: I don't know why the table iterator works well on snmp v1 but it doesn't work on snmp v2c or v3!

2009-06-24 Thread Dave Shield
2009/6/24 김은영 : > There are 3 tables in my MIB and I implemented the sub-agent to retrieve > these tables through the table iterator helper. (mib2c.iterate.conf) > > When I get the table via snmp v1, it works well. > > But if I try to get those via snmp v2c or v3, the values of the first 2 > table

Re: snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-24 Thread Dave Shield
2009/6/23 PoWah Wong : > I send a test trap with netsnmp 4.5.2.1 on FC6 linux as follows: > snmptrap -e 0x0102030405 -v 3 -u admin -l authPriv -a MD5 -A 12345678 -x DES > -X 87654321 172.20.11.72 42 coldStart.0 > > The wireshark program running on 172.20.11.72 capture this trap. > However, no trap