Re: exec deprecated

2006-11-23 Thread Dave Shield
I look for the extended directive that should replace the exec, but I didn't find it. $ man snmpd.conf EXTENDING AGENT FUNCTIONALITY Arbitrary Extension Commands [snip] extend [MIBOID] NAME PROG ARGS works in a similar manner to the exec

querying agent with mib object name

2006-11-23 Thread Balamurugan V
Hello everyone, i am new to net-snmp agent and i implmented an agent for a private MIB module using net-snmp, and i can query my agent with the OIDs, but when i query the agent with MIB object's name, it doesn't return anything. For example, following command works, snmpwalk -v 2c -c public

Re: querying agent with mib object name

2006-11-23 Thread Dave Shield
On 23/11/06, Balamurugan V [EMAIL PROTECTED] wrote: snmpwalk -v 2c -c public localhost enterprises.myPrivMib Error mesg: enterprises.myPrivMib: Unknown Object Identifier (Sub-id not found: enterprises - myPrivMib Please see the FAQ entries How do I add a MIB to the {tools,agent} Dave

Problem reguarding MIB files provided by netsnmp

2006-11-23 Thread bhushan
hello friends, greetings. by refering to ASN1.1 standards i understand that following trap are part of snmpv2-mib ie of oid (1.3.6.1.6) 1) linkup ( define in IF-MIB ?) 2) linkdown ( IF-MIB ?) 3) coldstart ( SNMPv2-MIB) 4) warmstart ( SNMPv2-MIB ) 5) authentication failure ( SNMPv2-MIB ) under

SNMP interface for configuring SNMP

2006-11-23 Thread somenath.pal
Hi All, We need to develop an SNMP agent for which we need to provide SNMP interface for changing SNMP v2 (community string), SNMP v3 parameters (security name, authentication protocol, etc), creation of context etc and the configuration should be persistent across reboot of device. Does

testing snmp agent's activity: is there a standard accepted simple procedure ?

2006-11-23 Thread Joao Miguel Ferreira
Hello all, I wonder if there is a simple procedure for testing snmp agents without having client applications installed... ?? For example, if I want to test a mail server I simply do: telnet mail.server.address 25 and I get some response that shows me the service is running and I can get

Re: testing snmp agent's activity: is there a standard accepted simple procedure ?

2006-11-23 Thread Dave Shield
On 23/11/06, Joao Miguel Ferreira [EMAIL PROTECTED] wrote: I wonder if there is a simple procedure for testing snmp agents without having client applications installed... ?? No. For example, if I want to test a mail server I simply do: telnet mail.server.address 25 the same goes for

R: exec deprecated

2006-11-23 Thread Enzo Arlati
Thanks for the amswer. I see there a lot of extra data , also for indexing a variable , so I wondering what the name are used for, it should be compose the last part of the oid but the oid is enough qualified with the index I give to it ( 12, 13 and 14 ). If , for example , I used always tha

Couldn't open device and statvfs dev/disk: No such file or directory

2006-11-23 Thread Theo Cabrerizo Diem
Hi All, After deploying net-snmp to some servers, I noticed the following behavior in our FreeBSD boxes : After including on snmpd.conf: disk / (It doesn't matter if this like is there or not) includeAllDisks -1% (any value would give this problem) I try to make a snmpwalk on the

--without-root-access clarification

2006-11-23 Thread Juraj Sucik
Hello, I am going to install net-snmp agent and I prefer to run it with -u option to avoid running it as root. I see this option for configure script: --without-root-access The snmpd agent won't require root access to run it. The information it

Re: R: exec deprecated

2006-11-23 Thread Dave Shield
On 23/11/06, Enzo Arlati [EMAIL PROTECTED] wrote: I see there a lot of extra data , also for indexing a variable , so I wondering what the name are used for, With the old exec mechanism, the name was basically ignored, and the output of the script was rooted directly below the specified OID

get interfaces OID takes a second

2006-11-23 Thread Sangsu Baek
[I'm sorry, This mail was cross posted] Hi. I'm using net-snmp 5.2.1 on IXP425 ( kernel ver 2.6.12-uc0 ). snmp agent works good. but when i get information on 'interfaces' , it works but very slow response ( about 1 sec per each OID) or even timeout. Other mib OID ( system, ip, tcp, udp )

SNMP Traps

2006-11-23 Thread Sagar Shukla
Hi, How are SNMP Traps different from regular SNMP modules ? What are the advantages of SNMP modules and Traps ? Thanks, Sagar. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel