Re: Logfile monitoring

2007-10-02 Thread Max
Hi, > > Behalf Of Joe Warren-Meeks > > Sent: Tuesday, October 02, 2007 8:11 AM > > > Is it possible to configure net-snmp to tail a logfile and each time > > it finds a regexp match, send a trap with the text to a traphost? This is a TODO on the Net-SNMP development page: Log File Monitoring TOD

RE: Logfile monitoring

2007-10-02 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Joe Warren-Meeks > Sent: Tuesday, October 02, 2007 8:11 AM > Is it possible to configure net-snmp to tail a logfile and each time > it finds a regexp match, send a trap with the text to a traphost? This is not the s

RE: Using net-snmp with Oracle Enterprise Manager agent and Listener

2007-10-02 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, October 01, 2007 2:32 PM > Hoping someone has run into this issue before... Eh... not me. > I've managed to get the Oracle Enterprise agent and the > Oracle Listener > work with

Re: snmpd not sending traps

2007-10-02 Thread Dave Shield
On 02/10/2007, Neil Watson <[EMAIL PROTECTED]> wrote: > Building the software by hand in distributing it to all servers on our > network is something I'd like to avoid. Are you saying that the version > I have is not capable of sending traps using the 'defaultmonitors yes' > directive? I would ha

Detecting access of a particular OID, handler functions

2007-10-02 Thread Devvrat Tripathi
When we create an MIB and load it, say by agentx support then is there any way to find out when any OID created by us is being accessed and also to dynamically change the value of that OID depending on some condition. The example at net-snmp site says that while registering the instance you can sp

Logfile monitoring

2007-10-02 Thread Joe Warren-Meeks
Hey guys, Is it possible to configure net-snmp to tail a logfile and each time it finds a regexp match, send a trap with the text to a traphost? For example, every now and then I might get the following in my logfile: MyApplicationAlert: foo not found MyApplicationAlert: bar located So, I wa

Re: snmpd not sending traps

2007-10-02 Thread Neil Watson
On Tue, Oct 02, 2007 at 03:31:15PM +0100, Dave Shield wrote: >Try running the agent using > > snmpd -f -Le -Ddisman [EMAIL PROTECTED] ~]# snmpd -f -Le -Ddisman Turning on AgentX master support. NET-SNMP version 5.1.2 No other output after more than ten minutes of load (1 and 5 minutes load

Re: snmpd not sending traps

2007-10-02 Thread Dave Shield
On 02/10/2007, Neil Watson <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] ~]# rpm -qa |grep -i net-snmp > net-snmp-libs-5.1.2-11.EL4.10.0.1 > net-snmp-5.1.2-11.EL4.10.0.1 > net-snmp-utils-5.1.2-11.EL4.10.0.1 That is a very old version of the Net-SNMP software, and the DisMan support has been compl

Re: snmpd not sending traps

2007-10-02 Thread Neil Watson
On Tue, Oct 02, 2007 at 04:33:57PM +0200, Thomas Anders wrote: >Neil Watson wrote: >> defaultMonitors yes > >What Net-SNMP version are you working with? [EMAIL PROTECTED] ~]# rpm -qa |grep -i net-snmp net-snmp-libs-5.1.2-11.EL4.10.0.1 net-snmp-5.1.2-11.EL4.10.0.1 net-snmp-utils-5.1.2-11.EL4.10.0.1

Re: snmpd not sending traps

2007-10-02 Thread Thomas Anders
Neil Watson wrote: > defaultMonitors yes What Net-SNMP version are you working with? For 5.3.x and up please make sure you read and follow the whole "defaultMonitors" paragraph in the snmpd.conf(5) manual page. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ---

Re: snmpd not sending traps

2007-10-02 Thread Dave Shield
On 02/10/2007, Neil Watson <[EMAIL PROTECTED]> wrote: > Can anyone explain to me why an snmpd daemon configured using the below > file fails to send traps when the load numbers for 1, 5 and 15 minutes > are exceeded? At first sight - yes, that ought to be generating traps. Which version of the ag

snmpd not sending traps

2007-10-02 Thread Neil Watson
Can anyone explain to me why an snmpd daemon configured using the below file fails to send traps when the load numbers for 1, 5 and 15 minutes are exceeded? ### # # snmpd.conf # # - created by the snmpconf configuration prog

Re: OPAQUE DOUBLE

2007-10-02 Thread Milan_Tvarozek
Hello Dave, thanks for your confirmation. We were trying to avoid string representation of floats since it is difficult to compare them (e.g. to preset thresholds). We will consider fixed point as you are suggesting. Milan On Tue, October 2, 2007 10:06 am, Dave Shield wrote: > On 02/10/2007, [E

Re: ppm install NetSNMP fail

2007-10-02 Thread Thomas Anders
Ross Lee wrote: > I installed the 5.4.1-1.win32.exe. What is the difference between the > ssl package and the one without? As Alex said, you need the "-2" package version, either SSL or not. The SSL version includes OpenSSL to offer SHA1 authentication and DES/AES privacy for SNMPv3 USM. +Thoma

Re: OPAQUE DOUBLE

2007-10-02 Thread Dave Shield
On 02/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello All, > > net snmp clients (snmpwalk and snmpget) understand types > OPAQUE_DOUBLE and OPAQUE_FLOAT. > > However, these are not recognized by HP OpenView and other clients. > > Does somebody know a workaround? Is the any way how to

OPAQUE DOUBLE

2007-10-02 Thread Milan_Tvarozek
Hello All, net snmp clients (snmpwalk and snmpget) understand types OPAQUE_DOUBLE and OPAQUE_FLOAT. However, these are not recognized by HP OpenView and other clients. Does somebody know a workaround? Is the any way how to teach HP OpenView (e.g via MIBs) to correctly interpret OPAQUE_DOUBLE and