[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can a MONIT script accept arguments?
From: |
Kevin Chadwick |
Subject: |
Re: Can a MONIT script accept arguments? |
Date: |
Sat, 30 Apr 2011 13:00:53 +0000 |
On Fri, 29 Apr 2011 16:12:10 -0400
Ortiz, Nelson wrote:
> 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
You can always create a wrapper script for monit which asks or looks up
the value and uses sed to mod the config file.
- Re: Check Host in MONIT, (continued)
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- RE: Check Host in MONIT, Paul Sun, 2011/04/11
- Re: Check Host in MONIT, Martin Pala, 2011/04/11
- Auto start of MONIT on Solaris 10, Paul Sun, 2011/04/12
- Re: Auto start of MONIT on Solaris 10, Martin Pala, 2011/04/12
- Can a MONIT script accept arguments?, Ortiz, Nelson, 2011/04/29
- Re: Can a MONIT script accept arguments?,
Kevin Chadwick <=
- OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Kevin Chadwick, 2011/04/11
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Jan-Henrik Haukeland, 2011/04/12
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), TimH, 2011/04/12
- Re: OpenBSD portable binary (Was Re: Help on building MONIT on Solaris x86-64), Kevin Chadwick, 2011/04/12
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Kevin Chadwick, 2011/04/11
- Re: [Bulk] Re: Help on building MONIT on Solaris x86-64, Nestor Urquiza, 2011/04/12