create table with pass directive

2010-04-08 Thread Michael Musenbrock
Hi there, I'm trying to extend the snmp daemon. Therefore that the task is just about parsing some output, I decided to use the pass directive with a shell script underneath. As a starter, just to get confident with the pass directive, I tried to fill a small table with data from the CPQHLTH-MIB

send_v2trap hangs

2008-10-17 Thread Michael Musenbrock
Hello, I've got a problem on sending a bunch of enterprise traps from my subagent, connected to master with agent x. (using net-snmp 5.4.1.2, compiled on a sun os, with sun cc and -xarch=amd64 flag, everything else is working fine). If I send traps in a loop with send_v2trap the subagent hangs

monitor directive: Trigger query (walk) failed: -2

2008-07-31 Thread Michael Musenbrock
Hi, online search seemsto be unavailable (everytime 0 results), so I apologize if the question was asked yet, but it is quite urgent. I want to monitor my own scalar, handled by a subagent, with the disman event handler. Steps I've done: create v3 user -> snmpget/walk requests working use for t

Re: No perl?

2008-07-09 Thread Michael Musenbrock
Mike Ayers schrieb: > ...net-snmp without any perl available... A quick reminder, please? I'm not sure, if these are all flags do disable perl, but maybe as reminder enough :) -> --without-perl-modules --disable-embedded-perl ---

traps from table

2008-05-15 Thread Michael Musenbrock
Hello, I just want to see if i've got it right. I want to send a trap if some value has changed in my snmp-table (I get the values from outside of snmp). If I interpret the snmp-faq [1] right, I have to save all the values and compare it to the new one?! Is this right? And are there some given s

Solaris Subagent Problem

2008-02-26 Thread Michael Musenbrock
Hi All! I'm working on Solaris 10 (SunOS 5.10) x86, with net-snmp 5.0.9 running, and try to write an snmp-subagent. I thought I should start with the delivered demos, but i'm not able to run demo_module_8, found under '/usr/demo/sma_snmp/demo_module_8' as expected. It seems, that the subagent is