<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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.<br><br>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 - <br><br><pre>define url{<br> url_name www.test.com,www.test2.com,www.test3.com.....<br> check_command check_http<br> ...<br> }<br></pre><br><br><pre>define command{<br> command_name check_http<br> command_line /usr/local/nagios/plugins/check_http -L $URL$ -c<br> $ARG1$ -w $ARG2$<br> }<br><br>Can I create a $URL$ macro for use here? Would doing something like this work?<br><br>Is there an easier way for me to have a single host ( localhost) to verify the list of 100 + urls ? <br>The plan is to do it 1 time a day & send a notification of it fails to get there. <br>They can then update the approved list of the new url.<br><br>Is it not " advisable" to use check_http in this manner? I am using it to watch a corporate now <br>& it has been reliable.<br><br>Thanks,<br>Steve<br></pre><br> <br /><hr />The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4' target='_new'>Get busy.</a></body>
</html>