Monitoring disk usage
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I've seen and experimented with the disk directive in snmpd.conf but
it's not quite doing what I need and I'm hoping someone can suggest a
way to use it or another method to accomplish what I need.
I have several programs which log to /var/log. Generally, there are
links there that point to /dev/null so I can enable logging by removing
the link and restarting the program. But if I ship a system without the
links or add a new log source and don't create the link or something, I
could end up with an ever-growing log file.
What I'd like to do is be able to remotely determine if any file in
/var/log is growing. I suppose I could have a startup script which
figured out the current usage on /, subtracted from 100, and put that in
as a percentage in snmpd.conf but that's kind of indirect and awkward.
Is there a better way?
Chris
-------------------------------------------------------------------------
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