[Xymon] nopropred

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Tue Mar 20 21:57:17 CET 2018


Hmm.. ok, apparently I completely misread that.  Or I missed that part.  That will come in very useful.

Thanks John!


Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive| Monroe, Michigan 48162 |  Office: 734-384-6403 |  |  Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Monday, March 19, 2018 12:35 PM
To: xymon at xymon.com
Subject: Re: [Xymon] nopropred

How about this contrived example:

> page FOO A Page of FOOs
>
> group Production Servers
> 0.0.0.0  .default.    # DESCR:"Database Server:Juneau"
> 0.0.0.0  one.bar.com  # sql
> 0.0.0.0  two.bar.com  # ssh
>
> group Test Servers
> 0.0.0.0  .default.     # DESCR:"Database Server:Anchorage" nopropred:*
> 0.0.0.0  three.bar.com # sql https://three.bar.com/
> 0.0.0.0  four.bar.com  # nopropyellow:+msgs
>
> group Development Servers
> 0.0.0.0  .default      # DESCR:"Development Hosts:No Callout" nonongreen nosslcert
> 0.0.0.0  five.bar.com  # sql https://five.bar.com/
> 0.0.0.0  six.bar.com   #


Each display group has its own default line. The line affects all hosts
until the next .default. is encountered, which is why I put one at every
display group. In my example above, each host in the group will get its
'DESCR" tag from the .default. line. Those in 'Test Servers' will also
get nopropred for all tests, while four.bar.com will also get the msgs
test added the nopropyellow list. Host five.bar.com will have an HTTPS
test performed, but its .default. line will suppress the displaying of
the certificate information from that test.

Hosts in the display group may be able to override the .default., but it
depends on the tag. For example, the 'nopropred:*' could be overridden
by a 'nopropred:msgs' on four.bar.com. I am, however, unaware of any
negating command for 'nonongreen'; what would it be 'nononongreen' ? :)

It is very important to read the notes in the man page regarding which
tags are available for use in .default.

> NOTE: The ".default." host entry will only accept the following tags - others are silently ignored: delayyellow, delayred, NOCOLUMNS, COMMENT, DESCR, CLASS, dialup, testip, nonongreen, nodisp, noinfo, notrends, noclient, TRENDS, NOPROPRED, NOPROPYELLOW, NOPROPPURPLE, NOPROPACK, REPORTTIME, WARNPCT, NET, noclear, nosslcert, ssldays, DOWNTIME, depends, noping, noconn, trace, notrace, HIDEHTTP, browser, pulldata. Specifically, note that network tests, "badTEST" settings, and alternate pageset relations cannot be listed on the ".default." host.

Please note: "others are silently ignored"

--
    Do things because y
ou should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Department of Administration
State of Alaska

On 3/19/2018 5:07 AM, Scot Kreienkamp wrote:
> Can you supply an example?  I didn't realize that could be used anywhere except globally.
>
>
> Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
> One La-Z-Boy Drive| Monroe, Michigan 48162 |  Office: 734-384-6403 |  |  Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
> -----Original Message-----
> From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
> Sent: Friday, March 16, 2018 2:17 PM
> To: xymon at xymon.com
> Subject: Re: [Xymon] nopropred
>
>
> On 3/16/2018 9:34 AM, Jason Brockdorf wrote:
>> Is it possible for me to apply nopropred/nopropyellow/noproppurple tags to
>> groups and/or pages instead of hosts?
>
> Only by use of the .default. line. I use such lines generously.
>
> Each of my display groups has a .default. line. This lets me quickly set
> attributes for hosts belonging to same support teams. And because each
> group has a .default. line, I am never surprised by default lettings
> leaking down from other display groups.
>
> Such lines could just as easily be defined at the page-level, if that is
> a better fit with your business requirements.
>
> The .default. line was a major improvement when moving from Big Brother
> to Xymon.

_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.


More information about the Xymon mailing list