Hi Dave, 

> > Yes... But the problem is that monitoring the entire table, like the
> > procTable, does *not* work on Solaris. We experienced it, and this was
> > confirmed by the README.solaris:
> 
> It would be *extremely* useful if you could try out the new
> implementation (from the CVS tree), and see if that works correctly.

I tried out the version from the CVS tree (5.3.dev) 
In my previous snmpd.conf, I had the following monitors: 

proc prg1
proc prg2
proc prg3
monitor -u lodo -i -r 10 -o prNames.1 -o prErrMessage.1 "proc" prErrorFlag.1
!= 0
monitor -u lodo -i -r 10 -o prNames.1 -o prErrMessage.1 "proc" prErrorFlag.1
== 0

monitor -u lodo -i -r 10 -o prNames.2 -o prErrMessage.2 "proc" prErrorFlag.2
!= 0
monitor -u lodo -i -r 10 -o prNames.2 -o prErrMessage.2 "proc" prErrorFlag.2
== 0

monitor -u lodo -i -r 10 -o prNames.3 -o prErrMessage.3 "proc" 
prErrorFlag.3 != 0
monitor -u lodo -i -r 10 -o prNames.3 -o prErrMessage.3 "proc" 
prErrorFlag.3 == 0

which I simplified to: 

proc prg1
proc prg2
proc prg3
monitor -u lodo -r 10 -o prNames -o prErrMessage "proc" prErrorFlag != 0
monitor -u lodo -r 10 -o prNames -o prErrMessage "proc" prErrorFlag == 0

supposing that monitoring table works as expected. 

My first surprise was to get the following message from snmpd: 

/export/home/lodo/etc/snmpd2.conf: line 92: Error: duplicate trigger name

which corresponds to the second monitor. For the sake of correctness, I
commented out that 2nd. monitor (though we need it, actually). 

I kill prg2 for instance, I checked that the entry
UCD-SNMP-MIB::prErrorFlag.2 got the value 1 as expected. However no inform
was sent out (checked with snoop). 

Even worse, the following monitor:
monitor -u lodo -i -r 10 -o prNames.1 -o prErrMessage.1 "proc" prErrorFlag.1
!= 0

isn't working anymore. 

The target machine is Sol9/x86. 

Let me know if I can further help.


Regards,
Loïc. 

-- 
--
// Sender address goes to /dev/null (!!) 
// Use my 32/64 bits, ANSI C89, compliant email-address instead:   

unsigned y[]=
{0,34432,26811,16721,41866,63119,61007,48155,26147,10986};
void x(z){putchar(z);}; unsigned t; 
main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}}

NEU: Telefon-Flatrate fürs dt. Festnetz! GMX Phone_Flat: 9,99 Euro/Mon.*
Für DSL-Nutzer. Ohne Providerwechsel! http://www.gmx.net/de/go/telefonie


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to