Interfacetable_v3t.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Interfacetable_v3t.pl

Post by sarfarosh »

Hello,
Sorry for such a Dumb Question, but can some one help me with useing Interfacetable_v3t.pl plugin in nagios xi, i have successfully complied it, but not able to make it work, can any one help me with that would be the command link argument for this plugin? & how to add it in command as am not able to make it
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Interfacetable_v3t.pl

Post by sreinhardt »

Can you post a link to the plugin. Have you tried Interfacetable_v3t.pl -h ? Also you generally would not compile a perl script, but instead just run it directly as is from the interpreter.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Interfacetable_v3t.pl

Post by sarfarosh »

sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Interfacetable_v3t.pl

Post by sreinhardt »

Are you using version 1 or 2, I see the download link points to both.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Interfacetable_v3t.pl

Post by sarfarosh »

i am using version 2. can you please help me with defining command in nagios xi.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Interfacetable_v3t.pl

Post by sreinhardt »

I just installed this as well, there are a whole lot of options, so defining a command looks to very much depend on what exactly you would like to do. One thing I will note, if you are saying the command is not working, you need to be sure to install perl-Config-General (yum install perl-Config-General). That resolved the only error message that I had, and running the ./check_interface_table_v3t.pl from libexec gave a whole output of the available commands.

Do you have a cli command with this plugin that you would like to use, that I could help get working within nagios for you?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Interfacetable_v3t.pl

Post by sarfarosh »

i am confused with how should i define it as command in nagios xi, as am confused with what parameter has to be defined while defineing command.
i know this is a very dumb question but help on this would be much appreciated
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Interfacetable_v3t.pl

Post by slansing »

A command must be defined in Configure > Core Config Manager > Commands, take a look at the already created commands for a formatting guide. Essentially you define macro/variable fields and then hard code a piece into the command, such as this one:

Code: Select all

$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
So for a start with this command, if it has the ability to make a remote call itself, or you are using it locally, you would start the definition as such:

Code: Select all

$USER1$/check_interface_table_v3t.pl
Here is a example of a command definition from Nagios Core:

http://nagios.sourceforge.net/docs/3_0/ ... ml#command

You still need to know what you want to get out of the plugin as sreinhardt asked, and showed you how to do.
Locked