SNMP on a bridge interface

2008-01-07 Thread Mateus Interciso
Hello, is it possible to set up a SNMP server on a bridge interface? I'm getting this error after some time the server start: error getting netmask for interface 1 error on subcontainer 'ia_addr' insert (-1) couldn't map value 0 for ipAddressAddrType error on subcontainer '' insert (-1) Then,

Question regarding sending of snmp traps

2007-10-04 Thread Mateus Interciso
Hello, this is probably a dumb question, but here it is anyway. I'm inside a network, made with NAT, so I have one external IP, let's call it 200.200.200.200, and lot's of internal ip, like 192.168.0.5. We have some servers, that are being watched with snmp, namely servers 192.168.0.1,

Host monitoring and trap sending

2007-09-17 Thread Mateus Interciso
Hello I'm trying to monitor some hosts that are behind the switch, and send traps over the internet, in an external host. The SNMP daemon is ON the switch (it's a linux box with NET-SNMP 5.4). The question is: 1)Do I need a custom MIB for this? 2)If yes, then how do I make one? Do you guys have

Disk Usage trap

2007-09-04 Thread Mateus Interciso
Hello, I have the traps correctly setted up for at least the proccess, I've put some basic monitoring, and they are being sent to the snmptrapd, and everything works fine, but I can't seem to be able to do this for the disk usage, here's how's my snmpd.conf file on this issue: (the /dev/sda3

Re: Disk Usage trap

2007-09-04 Thread Mateus Interciso
On Tue, 04 Sep 2007 14:55:28 +0100, Dave Shield wrote: On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote: monitor -r 5 -o prNames -o prErrMessage Process table prErrorFlag != 0 monitor -r 5 -o dskPath -o dskErrMessage Disk Usage dskErrorFlag != 0 defaultMonitors yes You don't need

Re: Disk Usage trap

2007-09-04 Thread Mateus Interciso
On Tue, 04 Sep 2007 15:10:26 +0100, Dave Shield wrote: On 04/09/07, Mateus Interciso [EMAIL PROTECTED] wrote: Strangelly enough, if I walk the dskTable and dskErrorFlag, with these commands, here's what I recieve snmpwalk -v3 -u * -n -l authNoPriv -a MD5

Re: Requests not passed to the handler

2007-09-04 Thread Mateus Interciso
On Tue, 04 Sep 2007 15:48:39 +0200, Milan_Tvarozek wrote: Hello all, I am experiencing a strange problem. I have written a simple common handler for MOD_GET a MOD_GETNEXT. The handler seems to work fine but certain SNMP requests are not passed to the handler. Example: snmpget -v 1

SNMP v3 user

2007-08-29 Thread Mateus Interciso
Hello, I'm trying to create a valid rwuser, using V3 of course. I've read the manual on snmpd.conf, and it says I can use a tool named snmpusm, on that manual, it has an example, which I'm trying to make, but I always get an error. The example says to have this lines on the snmpd.conf file

Re: SNMP v3 user

2007-08-29 Thread Mateus Interciso
I don't think I have the user, since this is the first time I tryed, and it gives me the same error with any user I select (even random leters) On 8/29/07, Mike Ayers [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mateus Interciso Sent: Wednesday

Re: Help with snmptrap

2007-07-27 Thread Mateus Interciso
On Fri, 27 Jul 2007 09:59:32 +0100, Dave Shield wrote: On 26/07/07, Mateus Interciso [EMAIL PROTECTED] wrote: Hello, I have this snmpd.conf configuration on one host trapsink 10.0.0.4 test trap2sink 10.0.0.4 test informsink 10.0.0.4 test Why do you want to send three copies of every

Re: Help with snmptrap

2007-07-27 Thread Mateus Interciso
On Fri, 27 Jul 2007 09:59:32 +0100, Dave Shield wrote: On 26/07/07, Mateus Interciso [EMAIL PROTECTED] wrote: Hello, I have this snmpd.conf configuration on one host trapsink 10.0.0.4 test trap2sink 10.0.0.4 test informsink 10.0.0.4 test Why do you want to send three copies of every

Help with snmptrap

2007-07-26 Thread Mateus Interciso
Hello, I have this snmpd.conf configuration on one host (a lot more, but this is the relevant part) trapsink 10.0.0.4 test trap2sink 10.0.0.4 test informsink 10.0.0.4 test authtrapenable 1 This for the snmptraps part. On host 10.0.0.4, I have this snmptrapd.conf file traphandle

snmptraps

2007-07-19 Thread Mateus Interciso
Hello, I'm trying to implement a simple snmptrap, that checks if a process is running, and if it's not, fire up an email telling the proccess crashed, stuff like this. Now, I've been reading the net-snmp tutorial on snmptraps, and as far as I've understood, I need a custom MIB file right? As