Xymon Mailing List Archive search

Include transfer of file contents to Xymon server for FILE check

5 messages in this thread

list Josh Luthman · Fri, 17 Feb 2012 16:10:44 -0500 ·
On the server I currently have a simple check to see if this file
exists.  I know if this file exists that there is a power outage
somewhere.

HOST=host.imaginenetworksllc.com
        FILE    /opt/noticeofpowerfailure red noexist

What I would like to do is include the contents of said text file to
the server so when I click on the status it shows up in my browser.
It is just text in the file.

Is this possible?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
list Steven Carr · Fri, 17 Feb 2012 22:05:22 +0000 ·
Add...

HOST=host.imaginenetworksllc.com
    FILE    /opt/noticeofpowerfailure red noexist
    LOG    /opt/noticeofpowerfailure

Then the contents should appear in the MSGS column.

Steve
quoted from Josh Luthman


On 17 February 2012 21:10, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
On the server I currently have a simple check to see if this file
exists.  I know if this file exists that there is a power outage
somewhere.

HOST=host.imaginenetworksllc.com
       FILE    /opt/noticeofpowerfailure red noexist

What I would like to do is include the contents of said text file to
the server so when I click on the status it shows up in my browser.
It is just text in the file.

Is this possible?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

list Josh Luthman · Fri, 17 Feb 2012 17:53:56 -0500 ·
No dice.  I tried that and after two cycles of files being red MSGS is
still clear:

System logs at Fri Feb 17 17:50:34 EST 2012 : No log data available

The client did not report any logfile data
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Steven Carr
On Fri, Feb 17, 2012 at 5:05 PM, Steven Carr <user-923b20c0d620@xymon.invalid> wrote:
Add...


HOST=host.imaginenetworksllc.com
    FILE    /opt/noticeofpowerfailure red noexist
    LOG    /opt/noticeofpowerfailure

Then the contents should appear in the MSGS column.

Steve


On 17 February 2012 21:10, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
On the server I currently have a simple check to see if this file
exists.  I know if this file exists that there is a power outage
somewhere.

HOST=host.imaginenetworksllc.com
       FILE    /opt/noticeofpowerfailure red noexist

What I would like to do is include the contents of said text file to
the server so when I click on the status it shows up in my browser.
It is just text in the file.

Is this possible?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
list Bill Arlofski · Fri, 17 Feb 2012 18:01:30 -0500 ·
quoted from Josh Luthman
On 02/17/12 17:53, Josh Luthman wrote:
No dice.  I tried that and after two cycles of files being red MSGS is
still clear:

System logs at Fri Feb 17 17:50:34 EST 2012 : No log data available

The client did not report any logfile data
Josh, you probably already know this, but for the sake of anyone new to Xymon,
is it possible that you forgot to add the required statements to the
client-local.cfg file on the server like so:


[ClientWithLog.example.com]
log:/opt/noticeofpowerfailure:10240

This tells the client "ClientWithLog.example.com" that it is supposed to send
the file "/opt/noticeofpowerfailure" (10240 bytes worth)

Hopefully this is something you didn't know, and it helped. :)

-- 
Bill Arlofski
Reverse Polarity, LLC
list Josh Luthman · Fri, 17 Feb 2012 23:42:56 -0500 ·
Yop. =(

[helium.imaginenetworksllc.com]
file:/var/www/dsfsdfdsf
file:/var/www/sdfsdfsdf
file:/var/www/sdfsdfsdf
file:/opt/noticeofpowerfailure
log:/opt/noticeofpowerfailure
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


quoted from Bill Arlofski
On Fri, Feb 17, 2012 at 6:01 PM, Bill Arlofski <user-0b8af203a56e@xymon.invalid> wrote:
On 02/17/12 17:53, Josh Luthman wrote:
No dice.  I tried that and after two cycles of files being red MSGS is
still clear:

System logs at Fri Feb 17 17:50:34 EST 2012 : No log data available

The client did not report any logfile data
Josh, you probably already know this, but for the sake of anyone new to Xymon,
is it possible that you forgot to add the required statements to the
client-local.cfg file on the server like so:


[ClientWithLog.example.com]
log:/opt/noticeofpowerfailure:10240

This tells the client "ClientWithLog.example.com" that it is supposed to send
the file "/opt/noticeofpowerfailure" (10240 bytes worth)

Hopefully this is something you didn't know, and it helped. :)

--
Bill Arlofski
Reverse Polarity, LLC