agent monitor

2004-11-25 Thread Sven Herzing
Hi, I'm trying to extend the agents monitor capabilities, so that I'll get a trap every time the monitor does perform a check. But now I'm a bit confused where those traps are sent(a bit cisco style trapping). The Release I use is net-snmp-5.2rc4. I added in the file agent/object_monitor.c and

Re: mfd questions

2004-11-25 Thread Dave Shield
>./mib2c -S mfd_fewer_files=1 . > seems to have no effect whatsoever OK - I've done a bit more digging, and the flag actually seems to be 'm2c_create_fewer_files' And this *does* work from the mib2c command line (though only using the two-parameter '-S m2c_create_fewer_files' form) Bu

question about snmp "alarm"

2004-11-25 Thread Howell_Hu
Dear Teacher, Now I have puzzled question. In upsMIB(RFC1628),there are objects " upsAlarmsPresent" "upsAlarmTable" etc. as follows: -- -- The Alarm group. -- upsAlarm OBJECT IDENTIFIER ::= { upsObjects 6 } upsAlarmsPresent OBJECT-TYP

Re: problems in snmpd.conf.5

2004-11-25 Thread Eric S. Raymond
Wes Hardaker <[EMAIL PROTECTED]>: > Actually, you should submit things like this to our patch tracker > rather than by email. I suspect your automated system won't do this > for you though. > > Furthermore, you should actually send a against the correct file (we > have many man pages which are ge

Re: mfd questions

2004-11-25 Thread Dave Shield
Dave> Can [md2 flags] be specified via "mib2c -S" as well, Dave> or do they only work via the md2 file? Robert> Yes, they should work from the command line. Sorry, Robert - that doesn't seem to work. I tried running ./mib2c -S m2c_table_settable=0 -c mib2c.mfd.conf myTable and it still gen

multiple snmpset-Requests

2004-11-25 Thread Sven Jonas
Hallo, first of all, thanks for Net-SNMP. I have been working for over 2 months with the tools and i enjoyed it very much. My software is almost completely written, but at the end some questions came up. I would like to send in a loop over 2-Requests. First, in this loop i create a pdu with

Re: user-array: row deletion and RowStatus

2004-11-25 Thread Dave Shield
Wes> By your definition, you should have no issues if Wes> I used the TruthValue TC and in the text clause reversed the meaning Wes> of the true/false values (extreme example, of course) I don't think that's a fair comparison. You're talking about changing the semantics of the TC

Problems with subagent under uClinux(2)

2004-11-25 Thread Yi Hu
Hello, I tried some ways to avoid the `select' error mentioned in the last letter. I merely removed the default mibs defined in net-snmp-config.h: #define DEFAULT_MIBS "" And this worked. But I still cannot get response from the subagent(It says: "No response from ..."). Then I turned