Perhaps someone knows offhand, to save me a lot of hacking.
Is it possible to "escape" a status message, so as to make a status column heading appear on two lines?
such as ~/bin/bb my_host "status 'uname -n'.MyColumn\nName green date cat mytest"
Or like that.
This seems to work on hobbit 4.20.
~/bin/bb my_host "status 'uname -n'.MyColumn<br/>Name green date cat mytest"
joe a
On Wed, Jan 5, 2011 at 4:38 PM, Joe Acquisto <joe.acquisto at gmail.com> wrote:
Perhaps someone knows offhand, to save me a lot of hacking.
Is it possible to "escape" a status message, so as to make a status column heading appear on two lines?
such as ~/bin/bb my_host "status 'uname -n'.MyColumn\nName green
datecat mytest"Or like that.
In <AANLkTimCqPkZmgM1ZC4ezwPoi+pBNhvuBt0eMKnV_px9 at mail.gmail.com> Joe Acquisto <joe.acquisto at gmail.com> writes:
Is it possible to "escape" a status message, so as to make a status column heading appear on two lines?
such as ~/bin/bb my_host "status 'uname -n'.MyColumn\nName green
datecat mytest"
I don't think you can do that. If possible, it would involve writing the column-name as HTML, i.e. with a "<br>" for the newline. But I wouldn't be surprised if some parts of Xymon choked on those angle brackets as part of a status-name.
Regards, Henrik
Turns out, <br> does not work, but <br/> does. My reading suggests the former is "non portable" while the latter will be, into the future, from an HTML point of view.
So far, other parts seem unaffected. Any parts I should attempt to test?
joe a.
On Fri, Jan 7, 2011 at 6:50 AM, Henrik Størner <henrik at hswn.dk> wrote:
In <AANLkTimCqPkZmgM1ZC4ezwPoi+pBNhvuBt0eMKnV_px9 at mail.gmail.com<AANLkTimCqPkZmgM1ZC4ezwPoi%2BpBNhvuBt0eMKnV_px9 at mail.gmail.com>> Joe Acquisto <joe.acquisto at gmail.com> writes:
Is it possible to "escape" a status message, so as to make a status column heading appear on two lines?
such as ~/bin/bb my_host "status 'uname -n'.MyColumn\nName green
datecat mytest"I don't think you can do that. If possible, it would involve writing the column-name as HTML, i.e. with a "<br>" for the newline. But I wouldn't be surprised if some parts of Xymon choked on those angle brackets as part of a status-name.
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (2)
-
henrik@hswn.dk
-
joe.acquisto@gmail.com