check_swap

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Pratapa
Posts: 150
Joined: Tue Oct 01, 2019 1:33 am

check_swap

Post by Pratapa »

Hi,

On one of the client machines, check_swap plugin is present and its version is 2.2.1.

I need check_swap plugin of version 2.2. How can I do this.

I need this because -n option is available in 2.2 version which is not available in 2.2.1 version.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check_swap

Post by benjaminsmith »

Hello Pratapa,

Thanks for visiting the Nagios Community Forum. You download older releases of the Nagios Plugins from the GitHub page:
https://github.com/nagios-plugins/nagio ... s/releases

Then compile to a temporary directory and copy over check_swap to your plugin directory.

For example:

Code: Select all

cd /tmp/
wget https://nagios-plugins.org/download/nagios-plugins-2.2.0.tar.gz
tar zxf nagios-plugins-2.2.0.tar.gz
cd /tmp/nagios-plugins-release-2.2.0/
./tools/setup
./configure
make
cd /tmp/nagios-plugins-2.2.0/plugins
./check_swap -V
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked