Page 1 of 1

How to install check_cisco plugin?

Posted: Thu Mar 20, 2014 4:01 am
by phyo
I want to use check_cisco plugin. So I tried to install to Nagios Xi. Download the check_cisco.tar.gz file and extract with 7zip on Windows 7. Then I uploaded this file to Nagios XI , Admin >> Manage Plugin and choose check_cisco and upload.
After that I run this plugin, it gives the following output.
[root@centos ~]# ./check_cisco
-bash: ./check_cisco: cannot execute binary file
The URL for check_cisco is http://exchange.nagios.org/directory/Pl ... /details#/

Please let me know how to install and used this plugin.

Re: How to install check_cisco plugin?

Posted: Thu Mar 20, 2014 9:45 am
by tmcdonald
Did you compile it? Following the steps as you listed them you should have ended up with a C program's source code.

I would upload the .tar.gz file to your server's /tmp directory and from the command line do this as root:

Code: Select all

cd /tmp
gunzip check_cisco.tar.gz
tar xf check_cisco.tar
cd check_cisco_plugin
make
Then you should be left with the executable called check_cisco which you can then upload to XI as usual.

Re: How to install check_cisco plugin?

Posted: Thu Mar 20, 2014 11:43 am
by phyo
tmcdonald wrote:Did you compile it?

Code: Select all

cd /tmp
gunzip check_cisco.tar.gz
tar xf check_cisco.tar
cd check_cisco_plugin
make
Then you should be left with the executable called check_cisco which you can then upload to XI as usual.
Thanks tmcdonald.
Actually I didn't compile it. Honestly i didn't know how to compile. :D
Now successfully uploaded to the server and i can use this plugin.

Cheer!