What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Does PRTG provide any sensors for monitoring of open file descriptors?

Votes:

0

Does PRTG have any sensors that can monitor open file descriptors (preferably those associated with a specific user) on a Linux system?

Background: Our organization recently experienced downtime when our LDAP server hit an open file descriptor limit which resulted in a kernel panic, breaking authentication to all connected systems. We would love to begin proactively monitoring open file descriptors associated with the LDAP process user so that we can take action when numbers get too high. Does PRTG have any sensors that can do this?

Thanks!

descriptor linux openfiles sensors

Created on Oct 14, 2016 5:51:38 PM



5 Replies

Votes:

0

Unfortunately, PRTG doesn't have sensors for that. You may have to write a script yourself and use it in conjunction with our SSH Script sensors :/

Created on Oct 18, 2016 11:13:39 AM by  Stephan Linke [Paessler Support]



Votes:

0

Thanks, Stephan. Is that something we might be able to get some assistance with creating? Would there be any example scripts to look at that could get us started?

Created on Oct 19, 2016 3:58:25 PM



Votes:

0

Hi Becky,

Unfortunately, we can't assist when it comes to custom scripting. With example scripts, do you mean what output is necessary or a basic concept for monitoring the file descriptors (which we can't provide)?

Created on Oct 20, 2016 7:40:41 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi, Stephan.

Any relevant example scripts would be helpful. Is the best place to look for such scripts within the PRTG installation directories (the subdirectories beneath C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\ ), or is there a resource somewhere online as well?

Thanks very much!

Created on Oct 20, 2016 6:16:38 PM



Votes:

0

Hi Becky,

Well, all you need is basically a shell script that retrieves the corresponding values and packs them into a PRTG compatible format. Then move the script to /var/prtg/scripts (or scriptsxml, depending on the type). The necessary output format can be found in your PRTG webinterface under:

Setup > PRTG API > Custom Sensors

Let me know if you need any further assistance regarding the matter :)

Created on Oct 21, 2016 10:30:29 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.