Hello,
I am using the check_http_proxy file to go through a proxy server while checking a website. It works just fine using this:
check_http_proxy --proxy=proxy:port --auth=user:pass --url=url --timeout=10.5 --warntime=5.0 --expect=content
I created a command and the check works fine after running the 'Monitor a Weburl' wizard. However, the actually host itself is not pingable so it shows up as down, while the service using check_http_proxy show up (green). Since I must have a host to put a service under and can't ping the host (it always shows down), is there are way to get around this?
Regards,
Randy.
Nagios version: Nagios XI 2012R2.9
Redhat: 6.5
check_http_proxy
Re: check_http_proxy
You could change the host check to use the http proxy check instead of check_icmp/check_ping/host-alive/etc.
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.
Re: check_http_proxy
I create a dummy host for these type of situations. for example I have a host labeled "Email checks" and just have it set to command "Check_Dummy" and ARG1 set to 0 and ARG2 set to "Nothing to Monitor" and then have 4 or 5 email related service checks under that host.
or as Andy said, change the host check to the service check you want. Either way works, just your choice
or as Andy said, change the host check to the service check you want. Either way works, just your choice
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: check_http_proxy
We love 'options' down here. Either is fine.
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.
-
intelXIadmin
- Posts: 65
- Joined: Mon Mar 25, 2013 9:10 am
Re: check_http_proxy
Very simple. Thank you, that solves the problem.