Nagios check_http plugin
-
lord_hypnos
- Posts: 13
- Joined: Thu Aug 01, 2013 8:52 am
Re: Nagios check_http plugin
Ok i understand but why u delete -j parameter in check http plugin?
Re: Nagios check_http plugin
The "-j" parameter has not been removed and in fact is still available to the check_http plugin. What version of the check_http plugin are you running?
Code: Select all
/usr/local/nagios/libexec/check_http -VFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
lord_hypnos
- Posts: 13
- Joined: Thu Aug 01, 2013 8:52 am
Re: Nagios check_http plugin
Code: Select all
check_http v2053 (nagios-plugins 1.4.13)Re: Nagios check_http plugin
That is an older plugin version, on the current, "-j" most definitely exists:
Code: Select all
[root@nagiosxi libexec]# ./check_http -V ; ./check_http -j
check_http v1.4.16 (nagios-plugins 1.4.16)
./check_http: option requires an argument -- 'j'
Usage:
check_http -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]
[-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]
[-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]
[-e <expect>] [-s string] [-l] [-r <regex> | -R <case-insensitive regex>]
[-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M <age>]
[-A string] [-k string] [-S <version>] [--sni] [-C <warn_age>[,<crit_age>]]
[-T <content-type>] [-j method]
[root@nagiosxi libexec]#Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
lord_hypnos
- Posts: 13
- Joined: Thu Aug 01, 2013 8:52 am
Re: Nagios check_http plugin
But i try check update and I receive this:
This check also check plugin or only Nagios version?
Code: Select all
Your Nagios XI installation is up to date.
Latest Available Version: 2012R2.2
Installed Version: 2012R2.2
Last Update Check: 2013-08-08 06:07:5
Last edited by lord_hypnos on Thu Aug 08, 2013 10:53 am, edited 1 time in total.
Re: Nagios check_http plugin
Download the newest xi tarball and rerun the plugins install:
Code: Select all
cd /tmp
rm -rf nagiosxi
wget http://assets.nagios.com/downloads/nagiosxi/2012/xi-2012r2.2.tar.gz
tar vfxz xi-2012r2.2.tar.gz
cd nagiosxi/subcomponents/nagiosplugins
./installFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
lord_hypnos
- Posts: 13
- Joined: Thu Aug 01, 2013 8:52 am
Re: Nagios check_http plugin
I do all Your steps:
and command:
still return:
Should i do something more?
And i have also one question. Why in Your Nagios version on webpage You don't update this plugin. Is not comfortable to download Nagios and must manual update built-in plugin. It is only my advice
Code: Select all
cd /tmp
rm -rf nagiosxi
wget http://assets.nagios.com/downloads/nagiosxi/2012/xi-2012r2.2.tar.gz
tar vfxz xi-2012r2.2.tar.gz
cd nagiosxi/subcomponents/nagiosplugins
./installCode: Select all
/usr/local/nagios/libexec/check_http -VCode: Select all
check_http v2053 (nagios-plugins 1.4.13)And i have also one question. Why in Your Nagios version on webpage You don't update this plugin. Is not comfortable to download Nagios and must manual update built-in plugin. It is only my advice
Re: Nagios check_http plugin
I just verified that you are correct. I was actually not aware that the nagios-plugins package in XI was out of date. This will be resolved in the next XI release. Until then, you will need to build and install the nagios-plugins package from source.
http://nagiosplugins.org/
http://sourceforge.net/projects/nagiosplug/files/
http://nagiosplugins.org/
http://sourceforge.net/projects/nagiosplug/files/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
lord_hypnos
- Posts: 13
- Joined: Thu Aug 01, 2013 8:52 am
Re: Nagios check_http plugin
Some days with blood and fight but my problem was resolved
Thank You so much for Your time!