How to install check_cisco plugin?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

How to install check_cisco plugin?

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to install check_cisco plugin?

Post 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.
Former Nagios employee
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: How to install check_cisco plugin?

Post 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!
Locked