[Top][All Lists]

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

Re: New feature

From: Daniel Rich
Subject: Re: New feature
Date: Fri, 10 Sep 2010 12:36:24 -0700
User-agent: Thunderbird (X11/20090609)

If it has python you can use the Nagios plugin I mentioned, or roll your own based on that one.  It's trivial to get and parse the XML status from monit remotely.

Andrew Holt wrote:

Thanks to all of you for your suggestions, however the system I am running on is an embedded linux device, and does not & will not have links.  It does have wget though.


On 9 Sep 2010, at 17:01, Eric Pailleau wrote:

Le 09/09/2010 17:57, Eric Pailleau a écrit :
This one is more beautified ...

echo -e -n "$1\t" ; (links -dump$1 | grep Status
| cut -d '|' -f 3 ) && exit 0 || exit 1

To unsubscribe:
Sorry, read :

echo -e -n "$1\t" ; (links -dump$1 | grep Status | cut -d '|' -f 3 | grep running ) && exit 0 || exit 1


Dan Rich <address@hidden> |
                               |  "Step up to red alert!"  "Are you sure, sir?
                               |   It means changing the bulb in the sign..."
                               |          - Red Dwarf (BBC)

reply via email to

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