You can increase the verboseness of the logging. Use the About->Configuration->edit configuration for zentrap. Add:

   logseverity 10

to the configuration and restart zentrap. Or, if you would like to try it temporarily, do this at the command line:

   $ zentrap restart -v 10

You should see some thing in the log right away.

-Eric


Baird, Josh wrote:
Eric,

Got the traps working, but zentrap.log is still 0byted.  Anything I need
to do to get zentrap to log?

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: Tuesday, January 30, 2007 3:31 PM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] SNMP Traps

Here's a simple test.  Add your zenoss box to the snmp config:

    # echo 'trapsink localhost' >> /etc/snmp/snmpd.conf

If you are running the appliance image, this has already been done.

Now restart snmp:

    # /etc/init.d/snmpd restart

That will send two traps.

-Eric

Baird, Josh wrote:
Hi,

I started playing around with SNMP traps today and have a few
questions.
I am using 1.1.0.
My test setup includes a Dell PowerEdge server running OpenManage.
The
SNMP client on the Windows 2003 machine is setup to send traps to the
IP
of the ZenOSS box.  I am testing by unplugging one of the redundant
PSU's from the PowerEdge.

I have imported the proper Dell MIB's to zenoss using zenmib.  OMA
detects the redundancy failure and is configured to send traps on all
warnings.  Nothing is coming thru into zentrap.log.  It is 0byted:

-rwxrwxr-x   1 zenoss wheel         0 Jan 28 04:02 zentrap.log

Is there a simple way I can test zentrap?  My box doesn't seem to be
receiving any traps (or Zenoss does not know what to do with them).
Any ideas?

Thanks,

Josh Baird


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to