check_file_count plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mlk0506
Posts: 28
Joined: Thu Oct 03, 2013 2:40 pm

check_file_count plugin

Post by mlk0506 »

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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_file_count plugin

Post by Box293 »

In Nagios XI, plugins are uploaded via the Admin menu.
  • 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
The plugins are located in:
/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
They are located in:
/usr/local/nagios/share/pnp/templates/
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.
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.

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
Let us know how you go.

Cheers
Troy
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked