![]() |
![]() |
Subject: | Monitoring number of open files/file descriptors |
Author: | [Not Specified] |
Posted: | 2014-12-17 21:41 |
I'm looking for a way to get Zenoss to monitor the number of open file descriptors. Is this possible
We have a service that has been failing due to using up all available file descriptors. Having an alert trigger when it gets close to the threshold would be useful.
Fixing the service so it closes file descriptors automatically is not a feasible solution. I have increased the file descriptor limit and set up a script to restart the offending service every night but it would still be good to have monitoring in place just in case.
Thanks!
Subject: | from the command line: |
Author: | Andrew Kirch |
Posted: | 2014-12-22 08:38 |
from the command line:
$ sudo lsof | wc -l
will get you the count you're wanting
http://wiki.zenoss.org/Writing_Command_Data_Sources should help you set up a command datasource to monitor that.
Andrew Kirch
akirch@gvit.com
Need Zenoss support, consulting or custom development Look no further. Email or PM me!
Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard
< |
Previous Status of Zenoss 5 |
Next Need to get alerts on DHCP scope capacity |
> |