Re: Monitoring disk usage

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> On 22/03/07, [email protected] <[email protected]> wrote:
> > > The other possibility would be to set up a "monitor" entry on 
> > > dskUsed. Slightly forced, but a delta monitor compared against
> > > 0 might fo the trick.
> >
> > That sounds great but I admit the snmpd.conf man page isn't 
> > sufficiently clear to me for me to do that.  Got any examples?
> 
> Untested but:
> 
>    monitor -D  ....  dskUsed > 0
> ...

I can't get these traps to fire.  Then again, when I try to walk
dskTable, I get a failiure response so maybe that MIB isn't in my agent.
 But I tried with memTotalFree and nothing happens. 
/usr/share/snmpd/snmpd.conf contains:

  agentSecName internal
  rouser internal
  monitor -r 30 memTotalFree < 2500

and when I look at the system I see:

  ~ # grep -i memfree /proc/meminfo
  MemFree:          1848 kB

and when I try to get memTotalFree with snmpwalk, I get meaningful
values.  But never a trap.  How can I diagnose the problem?  I looked at
versionConfigureOptions and there doesn't seem to be anything there that
disables these traps (or dskTable, for that matter).  I've tried running
snmpd -f but it doesn't complain about any unknown options or anything.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.