snmptrpd.conf format help

2008-05-17 Thread Meza, Frank
Hello, I am new to net-snmp configuration and firing up a trap receiver. The receiver is up processing and logging snmp v2 traps only but I cant seem to get the v1 traps to log. Any suggestions are appreciated. This is my basic content of my snmptrapd.conf authCommunity log public disableAut

Re: How to determine whether a discovered device is a PC?

2008-05-17 Thread Dave Shield
2008/5/15 Amarnath T <[EMAIL PROTECTED]>: > How can one determine whether the discovered device is a PC or not? Another approach (to go with the three or four ideas you've already received!), would be to query the sysDescr.0 value. This will typically give some indication of what sort of box you

Re: [mib2c .c code] code for MODE_SET_ACTION

2008-05-17 Thread Dave Shield
2008/5/15 CHAHIBI Samira <[EMAIL PROTECTED]>: > I have run mib2c and obtained my .c and .h files. I have one single RW > scalar variable named "id". Which mib2c template did you use? scalar or int_watch? Your requirements match the 'mib2c.int_watch.conf' template almost exactly. That will hand

Re: Informs vs traps

2008-05-17 Thread Dave Shield
2008/5/13 Vincent Royo <[EMAIL PROTECTED]>: > - in snmpd.conf : > trap2sink machine:162 Trapcom > informsink machine 162 > trapcommunity Trapcom > The behaviour is : > the snmptrapd receives the first trap on port X, it executes the script > "trapscript". It receives 6 frames of inform on port

Re: Appending LIb and include paths

2008-05-17 Thread Dave Shield
2008/5/16 Raghavendra Prasad <[EMAIL PROTECTED]>: > Evidently the compiler options like "includedir" and "libdir" are > overwriting the standard paths That's correct. > I did not wanted this. I want to > append "includedir" and "libdir" to the standard p

Re: How to include Libs and Flags in ./configure

2008-05-17 Thread Dave Shield
2008/5/15 Raghavendra Prasad <[EMAIL PROTECTED]>: > With the option --with-libs="-lTOS -lCTIfce -lCIfce -lm" I get an error *what* error? > I have stored all these libraries in "net-snmp-5.4.1" > directory, is this the property directory to store? No - probably not. You would normally instal