Re: A question of net-snmp

2010-08-17 Thread AC.
> > On 17 August 2010 07:28, AC. wrote: > > I can get table information that I need by using mib browser, but I > find two > > questions when I do it. > > Q1: If I use the command to get Table A, the agent will ask the > > inforation A and information B. > > "The command" is a bit vague. > H

dropping trap

2010-08-17 Thread k b
Hi, I'm a newbie to net-snmp toolkit. snmptrap does not seem to be working. Error message returned: "No access configuration - dropping trap" and "This receiver will *NOT* accept any incoming notifications." Environment: Net-SNMP 5.6 pre3 Windows Vista Cygwin version: CYGWIN_NT-6.0-WOW64 1.7.5

Re: How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Alexander King
$EDITOR /etc/snmp/snmpd.conf >> No,I mean,use the commands the net-snmp itself has,such as snmpset or >> something,for example set a trap receiver IP,or delete a IP from the >> snmpd.conf,is it feasible ???-- This S

MIB-Printer - prtConsoleDisable

2010-08-17 Thread Uwe Riegger
Hello, I try to lock/unlock different copiers with the OID iso. 3.6.1.2.1.43.5.1.1.13.1 . getSNMP works, but when I want to setSNMP I don't have the access to write at any copier. Because of the agent of the device . But normally this OID is writeable. Does anyone know a work around or other

Regarding NetSNMP::TrapReceiver::register module

2010-08-17 Thread Karthik Krishnamurthy
Hi, I followed the steps mentioned in the following website (http://search.cpan.org/~hardaker/NetSNMP-TrapReceiver-5.0301/TrapReceiver.pm) and configured snmptrapd.conf to register my perl module. The module is called for every trap received but when the first trap is received the formatting is n

Cant load subagent anyway

2010-08-17 Thread Nedimar Turatti
Hi, I cant get subagents to work on 5.4.2.1, on Ubuntu 10.04. snmpd.conf has: pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/passtest Log shows: Aug 16 19:03:54 nedimar-laptop snmpd[24692]: /etc/snmp/snmpd.conf:39 examining: pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/passtest Aug 16 19:03

SNMPGET returning wrong value for the OID.

2010-08-17 Thread jack n
Hi all, Please check on the MIB file and corresponding .c file generated by MIB2C - and the SNMPGET run for that MIB. *My MIB File Contains :* aa OBJECT IDENTIFIER ::= { enterprises 1429 } aaModules OBJECT IDENTIFIER ::= { aa 79 } xxCmg MODULE-IDENTITY LAST-UPDATED"2010072

differnet behavior between snmptrap command versions

2010-08-17 Thread Miller, Mark
I have noticed a behavior difference between two different versions of the snmptrap command but I could not find anything documenting the change in behavior in the change notes and I wanted to verify if this was a bug fix that changed the behavior. The issue has to do with sending a SNMP v1 trap w

Re: How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Pranesh Kulkarni
you can use command "snmpconf" On Tue, Aug 17, 2010 at 12:38 PM, Alexander King wrote: > > > Dave and all: > I want to know whether I can configure the snmpd.conf file via CLI,such as > write some settings into the file via LCI.and the commands.Thank you! > com2sec local localhost publ

default timeout duration(SNMP Timeout)

2010-08-17 Thread Mahesh Kottige Basavaraj
Hi, What is the default timeout duration(SNMP Timeout) and also what is the command option or where can we check this default timeout duration setting? Disclaimer: T

Re: A question of net-snmp

2010-08-17 Thread Dave Shield
On 17 August 2010 07:28, AC. wrote: > I can get table information that I need by using mib browser, but I find two > questions when I do it. > Q1: If I use the command to get Table A, the agent will ask the > inforation A and information B. "The command" is a bit vague. How exactly are you

Re: How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Dave Shield
On 17 August 2010 07:57, Alexander King wrote: > I want to know whether I can configure the snmpd.conf file via CLI,such as > write some settings into the file via LCI.and the commands. service snmpd stop $EDITOR /etc/snmp/snmpd.conf service snmpd start Dave --

How to set trap2sink receiver IP via CLI?

2010-08-17 Thread Alexander King
com2sec local 0.0.0.0 public # any IP is OK ? And how to set trap2sink receiver IP via CLI? -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Chal

How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Alexander King
Dave and all: I want to know whether I can configure the snmpd.conf file via CLI,such as write some settings into the file via LCI.and the commands.Thank you! com2sec local localhost public #com2sec mynetwork NETWORK/24 COMMUNITY com2sec local 172.19.50.0/24 public

How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Alexander King
Dave and all: I want to know whether I can configure the snmpd.conf file via CLI,such as write some settings into the file via LCI.and the commands.Thank you!-- This SF.net email is sponsored by Make an app they can'