monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can a MONIT script accept arguments?


From: Ortiz, Nelson
Subject: Can a MONIT script accept arguments?
Date: Fri, 29 Apr 2011 16:12:10 -0400

I notice in the examples that the IP address is hardcoded. 

For example, 

        If failed host 192.168.1.100 port 8080 protocol http

Can the IP address be parametized, or must it remain hardcoded?

We don't want to have to change the script when hardware is swapped out.


Thanks!

Very Respectfully, Nelson J. Ortiz
*----------------------------*




reply via email to

[Prev in Thread] Current Thread [Next in Thread]