答复: Regarding subagent of snmpd!

2006-08-24 Thread MCG PENG Mingxing
Hi Dave: sorry for no clear description! I just compiled the samples on the web of Sub-Agent Demon tutorial.htm, Everything compiles fine, and I can hook up the subagent to the master agent, but when I try to do any snmpget commands I get: No Such Object available on

Re: Design new SNMP MIB

2006-08-24 Thread Dave Shield
On 24/08/06, Michal Ludvig [EMAIL PROTECTED] wrote: I have a software package for which I need to report some status / configuration tables via SNMP/AgentX. Each table has a bunch of key=value pairs, where the list of keys could change in time (e.g. with new version), so I prefer not to

Re: try to remove row in ifTable

2006-08-24 Thread Dave Shield
On 23/08/06, Dominique bastien [EMAIL PROTECTED] wrote: I try to remove some rows in the ifTable, the loopback interface and some interface use for internal communication. I program the snmpd.conf with these lines: view vn1 included .1 view vn1 excluded ifEntry.1.1 0x3:0xf9 But this only

Re: FW: Re: How can I extend a MIB with a subagentX

2006-08-24 Thread Arnaud BODENAN
I execute the command 'kill -15 PID' on the two servers For the master agent, I put in the configuration file the parameter: agentxsocket /home/arnboden/snmp/test/masterFile For the subagent, I set it dynamically in the code of the subagent: netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,

[no subject]

2006-08-24 Thread MCG PENG Mingxing
Hi All: Who can tell me where are the subagent.conf ? I just run my own agent without the snmpd daemon, while there be such outputs: Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run snmpconf -g basic_setup

Re:

2006-08-24 Thread Dave Shield
On 24/08/06, MCG PENG Mingxing [EMAIL PROTECTED] wrote: Who can tell me where are the subagent.conf ? If you haven't created one, then it won't exist. what's the SNMPCONFPATH path? net-snmp-config --snmpconfpath Dave

the ucdavis with the extend agent

2006-08-24 Thread Elias Bou Rahal
Hi Sir, i have a problem in my snmpd. i use the version ucd-snmp 4.2.5 , when i try to execute a shell using ucdavis by typing: exec /bin/sh /home/test.sh in snmpd.confwhich the shell just print hello world, it works properly. But after i add my extended agent to the snmpd.conf by adding:

Re: try to remove row in ifTable

2006-08-24 Thread Dominique bastien
Q: I'm not sure where you got the: A: It's one of the syntax that I try. Is the same than you but without the padding at the end it's why I try 0x3:0xFD where the second bit is set to zero. Maybe this example can be add to the FAQ or to the snmpd.conf example. Thanks, Dominique --- Dave

Re: the ucdavis with the extend agent

2006-08-24 Thread Dave Shield
On 24/08/06, Elias Bou Rahal [EMAIL PROTECTED] wrote: i have a problem in my snmpd. i use the version ucd-snmp 4.2.5... ... i used ucd-snmp 4.2.6 the same result Please note that both of these versions are several years old, and development has been effectively closed down for some time.

Re: try to remove row in ifTable

2006-08-24 Thread Dominique bastien
I just said tha the explaination of the mask is not clear and the padding that you add at the end (the five bit set to 0) to make the thing work is not obvious. It's why my not working mask is the same than you but without the padding. Thanks, Dominique --- Dave Shield [EMAIL PROTECTED] wrote:

64 bit interface counters on Solaris

2006-08-24 Thread Mike Brodbelt
Hi, I'm using the net-snmp shipped by Sun as part of Solaris 10. I'd like to monitor interface traffic on Gig-E interfaces, but can't get any output from the ifXTable. Is ifXTable currently supported at all by net-snmp, and is it supported on Solaris? Thanks, Mike

Re: 64 bit interface counters on Solaris

2006-08-24 Thread Thomas Anders
Mike Brodbelt wrote: I'm using the net-snmp shipped by Sun as part of Solaris 10. I'd like to monitor interface traffic on Gig-E interfaces, but can't get any output from the ifXTable. Is ifXTable currently supported at all by net-snmp, and is it supported on Solaris? 5.2.x (with

General snmptrap question

2006-08-24 Thread Jonathan Shan
Hello all, How can I make snmptrap more useful? Right now I can only recieve unsolicited trap messages, and I can generate snmptrap using the snmptrap command. A book I have says that I should write a script that monitors key processes and generate traps when any interesting events take place.

Problems with ipAddrTable on RHEL 3.0

2006-08-24 Thread Josh Bers
Title: Message I am running net-snmp on RHEL 3.0 (ES). net-snmp version net-snmp-5.0.9-2.30E.19 The problem that I am seeing is that ip address aliases (virtual interfaces) do not show up in the ipAddrTable: With a prior rev of net-snmp I would get the aliases, however, the ifIndex

Re: 64 bit interface counters on Solaris

2006-08-24 Thread Anders Persson
Thomas Anders wrote: Mike Brodbelt wrote: I'm using the net-snmp shipped by Sun as part of Solaris 10. I'd like to monitor interface traffic on Gig-E interfaces, but can't get any output from the ifXTable. Is ifXTable currently supported at all by net-snmp, and is it supported on Solaris?

Re: 64 bit interface counters on Solaris

2006-08-24 Thread Thomas Anders
Anders Persson wrote: There is ongoing work to rewrite the Solaris bits to use the new framework. This is excellent news. Any estimate on when it may be finished? We're planning to start the 5.4 release cycle in September. Wouldn't be too bad to ship 5.4 with your patches included. :-)

Re: 64 bit interface counters on Solaris

2006-08-24 Thread Anders Persson
Thomas Anders wrote: Anders Persson wrote: There is ongoing work to rewrite the Solaris bits to use the new framework. This is excellent news. Any estimate on when it may be finished? We're planning to start the 5.4 release cycle in September. Wouldn't be too bad to ship 5.4 with