Xymon Mailing List Archive search

Custom Graphs

list Ryan Novosielski
Tue, 25 Sep 2012 02:11:13 -0400
Message-Id: <user-4f8877916c47@xymon.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/25/2012 12:41 AM, Nelis, Wim wrote:
Hello,
I searched the web a bit and found the Xymon docs and there was mention of two ways of doing custom graphs: NCV and trends messages. NCV doesn't really suit me as my scripts have too much
 formatting in them and would require a rewrite to have the separate lines for values as is needed by NCV.
Perhaps a rewrite is not needed. If the values to be entered in the
graph are still available once the status message is build, you could add an HTML comment section to the message containing the NCVs, formatted as Xymon expects them. Additionally, you could replace the ':' and the '=' in the original status message by the corresponding HTML escape character. This will prevent the NCV module from extracting values from the original message.
That is actually a pretty interesting idea, though it ends up being
about the same amount of work as using a trends message when it comes
down to it (except I guess it cuts down on the number of message). I
guess the NCV will use either = or : as a delimiter?

- -- - ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBhSvkACgkQmb+gadEcsb5DGwCgtw7f45WuBMYU6tHp7UTmPQRY
n1sAn1GVbqEWaScIomgAZLuUiw3SkQgC
=IO/S
-----END PGP SIGNATURE-----