snmptraps disk use

This is a discussion on snmptraps disk use within the SNMP Users forums, part of the Networking and Network Related category; Hi. I am triyng to generate a snmptrap on debian etch using the package snmpd 5.2.3-7etch2. The ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-01-2008
Osvaldo Alvarez Pozo
 
Posts: n/a
Default snmptraps disk use

Hi.
I am triyng to generate a snmptrap on debian etch using the package
snmpd 5.2.3-7etch2. The traps are based on disk use.But I don't find
the solution or the problem.

I added this lines to the default snmpd.conf file:

smuxsocket 127.0.0.1
com2sec readonly default public
trapcommunity public
trap2sink 192.168.0.9

agentSecName internal
rouser internal
defaultMonitors yes
disk / 900000
monitor -u internal -r 5 -o dskPath.1 -o dskTotal.1 dskAvail.1
dskErrorFlag.1 > 0

but I only receive in the snmptrapd host the following lines and only
if I do a reboot.
Mar 30 14:36:38 ldap snmptrapd[1949]: 30/03/2008 14:36:38 Cold Start de 0.0.0.0
Mar 30 14:36:40 ldap snmptrapd[1949]: 30/03/2008 14:36:40 Cold Start de 0.0.0.0

if I do snmpwalk localy:
"snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.9"
i get:

UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/sda2
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 900000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 1304468
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 880664
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 357540
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 29
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 11
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 1
UCD-SNMP-MIB::dskErrorMsg.1 = STRING: /: less than 900000 free (= 880664)

the error flag is set to 1 but this trap is never sent.

Wath is missing??
Thanks

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0