We have a web server that I need to hit a URL from each night at the same time. These servers are Windows.
My current thinking: using NRPE to run a script on the remote host that loads the URL.
I have been looking for a suitable powershell or vbs script that will check this HTTPS site, but the one's I've come across either don't appear to work with HTTPS, or give me the results in some external file.
What would you guys do?
Thanks!
RMH
Remote URL check
Re: Remote URL check
The "Website URL" wizard should have you running these checks in no time, scripts / NRPE should not be necessary.
https://www.youtube.com/watch?v=7UeWeko ... AC46F099DE
https://www.youtube.com/watch?v=7UeWeko ... AC46F099DE
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: Remote URL check
From what I can tell, that doesn't open the URL from the host I need it opened from (host overrides in place there).
Re: Remote URL check
Just to clarify - when you mention 'These servers are Windows', are you referring to the machines running the web server, or the machine you're looking to use as an intermediate?
If it's the second option (your intermediate is a Windows machine), take a look at these two plugins available on our Exchange -
https://exchange.nagios.org/directory/P ... pt/details
https://exchange.nagios.org/directory/P ... pe/details
If it's the second option (your intermediate is a Windows machine), take a look at these two plugins available on our Exchange -
https://exchange.nagios.org/directory/P ... pt/details
https://exchange.nagios.org/directory/P ... pe/details
Former Nagios Employee
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: Remote URL check
Yes, I apologize for not clarifying. The servers I need to actually execute the check are Windows.
I will look into those two plugins. Thank you!
I will look into those two plugins. Thank you!
Re: Remote URL check
Let us know if any of these plugins works for you.I will look into those two plugins. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Remote URL check
If you need other than basic authentication or no authentication with a site these will not work.
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: Remote URL check
Ah, so the perl script needs perl to run (would like to avoid installing anything extra, these are hardened web servers), and the exe seems to only support HTTP / Port 80 - I need HTTPS / 443.
Anything else out there?
Thanks!
Anything else out there?
Thanks!
Re: Remote URL check
I don't think Powershell or batch is going to have the power that perl does, and as you're using Windows - you're pretty limited.
Your webserver's should have perl installed already, do they not?
I was able to find one more that is PHP supported, https://exchange.nagios.org/directory/P ... tp/details
Your webserver's should have perl installed already, do they not?
I was able to find one more that is PHP supported, https://exchange.nagios.org/directory/P ... tp/details
Former Nagios Employee
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: Remote URL check
Unfortunately no perl or php 