I believe this thread belongs on the General list, so I am cross-posting
it to there.
The most obvious way to do this is to use the "command" check. Check
appendix III of the manual ("Old-style Health Checks").
Another check you may want to look at is the "statusfile" check. It is
also an Old-style check.
Peter
On Mon, 19 Mar 2007 08:38:23 +0100, Alexander Kushnirenko
<suppressed> wrote:
> Hi,
>
> Is there a module to check shell script error code. I would think of
> something like:
> errcode = 0 - green
> errcode = 1 - yellow
> errcode = 2 - red
>
> I think it man be useful addition to create quick checks for people who
> are not very familiar with perl or with the steps necessary to create
> bigsister module.
>
> Sasha.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bigsister-devel mailing list
> suppressed
> https://lists.sourceforge.net/lists/listinfo/bigsister-devel
>
>
--
Peter Værlien
Fritz Aabakkens vei 17, 7072 Heimdal, Norway
Telephone: 917 69 384, E-Mail: suppressed,
http://varlien.home.online.no
It always takes a Clinton to clean up after a Bush - Hillary 2008
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.