I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax. Can anyone give me a hand with a *whatever* syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn't working.
Elizabeth Jones Unix Administrator - NIC, Inc. 25501 West Valley Parkway, Suite 300, Olathe, KS 66061 email: ejones at egov.com<mailto:ejones at egov.com>
There are slashes in your server names? Steve
On Mon, Jan 14, 2013 at 10:19 AM, Jones, Elizabeth <Ejones at egov.com> wrote:
I’m trying to get alerts working for a group of servers that have **soldb** in the server name but I can’t seem to figure out the right syntax. Can anyone give me a hand with a **whatever** syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn’t working. ****
----------****
Elizabeth Jones****
Unix Administrator - NIC, Inc.****
25501 West Valley Parkway, Suite 300, Olathe, KS 66061****
email: ejones at egov.com****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- If they give you ruled paper, write the other way. -Juan Ramon Jimenez, poet, Nobel Prize in literature (1881-1958)
I prayed for freedom for twenty years, but received no answer until I prayed with my legs. -Frederick Douglass, Former slave, abolitionist, editor, and orator (1817-1895)
HOST=%soldb
Michael Beatty Sherwin-Williams IT Analyst/Developer michael.beatty at sherwin.com 216-515-7374
On 01/14/2013 10:19 AM, Jones, Elizabeth wrote:
I'm trying to get alerts working for a group of servers that have **soldb** in the server name but I can't seem to figure out the right syntax. Can anyone give me a hand with a **whatever** syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn't working.
Elizabeth Jones
Unix Administrator - NIC, Inc.
25501 West Valley Parkway, Suite 300, Olathe, KS 66061
email: ejones at egov.com <mailto:ejones at egov.com>
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thanks -this worked.
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Michael Beatty Sent: Monday, January 14, 2013 9:38 AM To: xymon at xymon.com Subject: Re: [Xymon] syntax for analysis/alerts
HOST=%soldb
Michael Beatty
Sherwin-Williams
IT Analyst/Developer
michael.beatty at sherwin.com<mailto:michael.beatty at sherwin.com>
216-515-7374 On 01/14/2013 10:19 AM, Jones, Elizabeth wrote: I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax. Can anyone give me a hand with a *whatever* syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn't working.
Elizabeth Jones Unix Administrator - NIC, Inc. 25501 West Valley Parkway, Suite 300, Olathe, KS 66061 email: ejones at egov.com<mailto:ejones at egov.com>
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
In future, you can test your regular expressions using xymon's "xymondboard" message type. Just set host to whatever follows the "%" and it will give you what matches. So to test "%soldb" you do this (from the Xymon server):
$ xymoncmd xymon localhost 'xymondboard host=soldb'
J
On 15 January 2013 04:20, Jones, Elizabeth <Ejones at egov.com> wrote:
Thanks –this worked.****
*From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Michael Beatty *Sent:* Monday, January 14, 2013 9:38 AM *To:* xymon at xymon.com
*Subject:* Re: [Xymon] syntax for analysis/alerts****
HOST=%soldb
Michael Beatty****
Sherwin-Williams****
IT Analyst/Developer****
michael.beatty at sherwin.com****
216-515-7374****
On 01/14/2013 10:19 AM, Jones, Elizabeth wrote:****
I’m trying to get alerts working for a group of servers that have **soldb** in the server name but I can’t seem to figure out the right syntax. Can anyone give me a hand with a **whatever** syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn’t working. ****
----------****
Elizabeth Jones****
Unix Administrator - NIC, Inc.****
25501 West Valley Parkway, Suite 300, Olathe, KS 66061****
email: ejones at egov.com****
_______________________________________________****
Xymon mailing list****
Xymon at xymon.com****
http://lists.xymon.com/mailman/listinfo/xymon****
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I'm trying to get alerts working for a group of servers that have *soldb* in the server name but I can't seem to figure out the right syntax. Can anyone give me a hand with a *whatever* syntax? What I have at the moment is LOAD 70 100 HOST=%^/soldb*/ , and it isn't working.
Hello, Elizabeth.
If "soldb" is not at the beginning of the hostname, then:
%.*soldb.* may work for you.
Another option might be to set up a page with all of those servers contained in it, and then alert on the page, instead.
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
participants (5)
-
Ejones@egov.com
-
jlaidman@rebel-it.com.au
-
mburger@bubbanfriends.org
-
Michael.Beatty@sherwin.com
-
sholmes42@mac.com