Hi,

I'm looking at deploying Net-Snmp's snmpd as an agent on all of our linux 
boxes.  I have previously used a commercial SNMP agent that had the ability to 
send periodic heartbeats and as well as periodic traps for certain events like 
low diskspace and low free swap space.  I would like to retain this 
functionality with Net-Snmp.

Here's my snmpd.conf thus far for the diskspace traps:

  rocommunity <string>
  disk / 15%
  disk /tmp 15%
  disk /var 15%
  disk /usr 15%
  disk /fs/data-01 15%

  createUser internal MD5 <string>
  iquerySecName internal
  rwuser internal
  
  monitor -r 60 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0

  informsink trap1 <string>

This will generate a low disk space trap once when the available diskspace for 
the partition drops below 15%.  I would like to change this to have it send it 
every hour until the issue clears.  I'm guessing this would require using the 
'repeat' directive to reset the error flag periodically, but am unsure.

I got nothing thus far for the hearbeat traps.

Any help is appreciated,
Rajiv

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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