Xymon Mailing List Archive search

getting thresholds

3 messages in this thread

list Torsten Richter · Mon, 11 Apr 2016 16:17:08 +0200 (CEST) ·

Hi,

is there a built-in way to extract the thresholds of the tests on a per host basis, e.g. something like
xymon localhost "thresholds server1.cpu" would yield:

server1|cpu|5|10 or something like that

If there is nothing built in yet, maybe it could be added in one of the next versions.
Or does someone already have a script/program for that and is willing to share?

Thanks
Torsten

list Galen Johnson · Mon, 11 Apr 2016 15:07:33 +0000 ·
There is the Config Report available from the menu which will produce output based on the page you're looking at.  I _think_ there is a way to pull similar info from the command-line but I'm drawing a blank as to how.


=G=
quoted from Torsten Richter


From: Xymon <xymon-bounces at xymon.com> on behalf of Torsten Richter <user-c862b499d9fa@xymon.invalid>
Sent: Monday, April 11, 2016 10:17 AM
To: xymon at xymon.com
Subject: [Xymon] getting thresholds


Hi,

is there a built-in way to extract the thresholds of the tests on a per host basis, e.g. something like
xymon localhost "thresholds server1.cpu" would yield:

server1|cpu|5|10 or something like that

If there is nothing built in yet, maybe it could be added in one of the next versions.
Or does someone already have a script/program for that and is willing to share?

Thanks
Torsten
list Torsten Richter · Wed, 13 Apr 2016 18:40:52 +0200 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Galen,

thanks for the info. Sometimes I forget that there are several reports
already built in.
I took a look at the output and it IS very comprehensive for my needs.
But I think I can live with 'xymond_client --dump-config' and get the
info from there and practice some script fu.

Regards
Torsten
quoted from Galen Johnson

On 11.04.2016 17:07, Galen Johnson wrote:
There is the Config Report available from the menu which will produce 
output based on the page you're looking at.  I _think_ there is a way to

 pull similar info from the command-line but I'm drawing a blank as to h
ow.


=G=


From: Xymon <xymon-bounces at xymon.com> on behalf of Torsten Richter <bb
user-2bcb01fc6bcc@xymon.invalid>
quoted from Galen Johnson
Sent: Monday, April 11, 2016 10:17 AM
To: xymon at xymon.com
Subject: [Xymon] getting thresholds


Hi,

is there a built-in way to extract the thresholds of the tests on a pe
r host basis, e.g. something like
xymon localhost "thresholds server1.cpu" would yield:

server1|cpu|5|10 or something like that

If there is nothing built in yet, maybe it could be added in one of th
e next versions.
quoted from Galen Johnson
Or does someone already have a script/program for that and is willing 
to share?

Thanks
Torsten
- -- 
+---------------------------------------------------------+

| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlcOdpQACgkQ7DlmxomQk6yuoACdECW+qnzFzpsTSt+UKPdyI1u/
phcAn18XrjnbkdZeFYd2wMzm54soEwtN
=Q4b1
-----END PGP SIGNATURE-----