Include transfer of file contents to Xymon server for FILE check
list Josh Luthman
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
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 Josh Luthman
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 Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
▸
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
▸
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
Yop. =( [helium.imaginenetworksllc.com] file:/var/www/dsfsdfdsf file:/var/www/sdfsdfsdf file:/var/www/sdfsdfsdf file:/opt/noticeofpowerfailure log:/opt/noticeofpowerfailure
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
▸
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 dataJosh, 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