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
Interfacetable_v3t.pl
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Interfacetable_v3t.pl
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.
Re: Interfacetable_v3t.pl
Hi
here is the link to plugins http://exchange.nagios.org/directory/Pl ... 3t/details,
here is the link to plugins http://exchange.nagios.org/directory/Pl ... 3t/details,
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Interfacetable_v3t.pl
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.
Re: Interfacetable_v3t.pl
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
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?
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.
Re: Interfacetable_v3t.pl
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
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
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:
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:
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.
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$Code: Select all
$USER1$/check_interface_table_v3t.plhttp://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.