I have a need to verify that vendor urls for my company do not change. Since we
only allow our locations to see approved urls, this is important.
I was hoping there was some way I could use a macro to do the check_http and
have all of the urls for the sites listed as the macro contents . Something
like this -
define url{
url_name www.test.com,www.test2.com,www.test3.com.....
check_command check_http
...
}
define command{
command_name check_http
command_line /usr/local/nagios/plugins/check_http -L $URL$ -c
$ARG1$ -w $ARG2$
}
Can I create a $URL$ macro for use here? Would doing something like this work?
Is there an easier way for me to have a single host ( localhost) to verify the
list of 100 + urls ?
The plan is to do it 1 time a day & send a notification of it fails to get
there.
They can then update the approved list of the new url.
Is it not " advisable" to use check_http in this manner? I am using it to
watch a corporate now
& it has been reliable.
Thanks,
Steve
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null