Hello, I'm trying to install this plugin called check_file_count for a member of our analyst team and I'm unable to figure it out. (I'm a newbie)
The read me file states this:
"Place check_file_count in your Nagios plugins directory, e.g. /usr/lib/nagios/plugins/
For a detailed help for how to use the plugin, use the --help option.
Place check_file_count.php in your pnp/templates directory e.g. /usr/share/pnp/templates
The default PNP4Nagios template can also be used. "
I have tried finding this directory on the server using the "root" user, and it says not such file exists. I have uploaded the two files through the web interface, but it does not show up under the plugin wizard to choose to set it up. Can some please point me in the right direction?
I'm running Centos and Nagios XI 2012R2.9.
Thank you in advance.
check_file_count plugin
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: check_file_count plugin
In Nagios XI, plugins are uploaded via the Admin menu.
/usr/local/nagios/libexec/
As for the template files, the can be uploaded via the Admin menu.
/usr/local/nagios/share/pnp/templates/
For the help:
Cheers
Troy
- Along the top blue bar click Admin
On the left pane under System Extensions click Manage Plugins
Here you can browse to the plugin you downloaded
/usr/local/nagios/libexec/
As for the template files, the can be uploaded via the Admin menu.
- Along the top blue bar click Admin
On the left pane under System Config click Graph Templates
Here you can browse to the template you downloaded
/usr/local/nagios/share/pnp/templates/
If you are new to Nagios, then you might want to check out the help on the server, there is a section there that explains how to add a new plugin to Nagios and then test it, and later configure it. NOTE: The plugin will not appear in the wizards section, wizards are add-ons for Nagios XI that automate the configuration for specific technologies.mlk0506 wrote:I have uploaded the two files through the web interface, but it does not show up under the plugin wizard to choose to set it up.
For the help:
- Along the top blue bar click Help
On the left pane under Documentation Guides click Administrator Guide
Under Extending Nagios click Plugins
Click the Managing Plugins in Nagios XI link
A PDF will open with all the steps you need to get this plugin up and working
Cheers
Troy
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.