[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] cont regex
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] cont regex
- From: Andreas Kunberger <andreas.kunberger (at) itv-denkendorf.de>
- Date: Thu, 19 Nov 2009 08:44:38 +0100
- References: <e096be6f0911181348p777e62ffob08794d1b8ccd7b1 (at) mail.gmail.com>
- User-agent: Thunderbird 2.0.0.23 (X11/20090817)
M. Hansen schrieb:
> First off, thanks for coding this amazing piece of software, Henrik.
>
> I'm trying to do a http content check of my Netgear print server's web
> interface. The print server has two ports, and I'd like to have two
> separate columns that show the status of the two printer ports. I've
> tried to come up with some regular expressions, but they haven't
> worked so far.
>
I'd write a small extension script,
which first runs your web page through 'w3m -dump'
and then scans in in the resulting text file for your printer lines
to send am message to the xymon server
mfg
Andreas Kunberger
--
DITF