Xymon Mailing List Archive search

yet another purple paging problem

3 messages in this thread

list Henry Laurent · Fri, 4 Aug 2017 12:30:44 +0200 (CEST) ·
Hello, Sorry in advance but i can't get rid of purple paging and purple notification on xymon webpage. 
By mistrake, i created bad tests in my host.cfg. As example, a bbd (database) test to a unrelevant host. Which created as expected a red alert. I then removed the test from host.cfg. Since then, i am warned about purple event i can't remove 
I tried these: 
- delete data/hist/myserver.bbd - remove bbd line in data/hist/myserver file - restart xymond - tried xymon 127.0.0.1 "drop host.example.com test" procedure i found on google 
I still see a purple square icon in the bbd column of that host on my webpage and receive paging mails 
I tried to remove anything about this test too in histlogs. I still notice tracks of this test in server/tmp/alert.chk and xymond.chk too . Trying to remove there does not change anything. 
I don't know what to try else. As an old bb user i was used to just remove logs files about purple events 
Could anyone help ?
list John Thurston · Fri, 4 Aug 2017 09:31:10 -0800 ·
quoted from Henry Laurent
On 8/4/2017 2:30 AM, HENRY Laurent wrote:
Hello,
 Sorry in advance but i can't get rid of purple paging and purple
notification on xymon webpage.

By mistrake, i created bad tests in my host.cfg.
As example, a bbd (database) test to a unrelevant host. Which created as
expected a red alert. I then removed the test from host.cfg.
Since then, i am warned about purple event i can't remove
. . .
I don't know what to try else.
As an old bb user i was used to just remove logs files about purple events

Could anyone help ?
Did you try:
   xymoncmd xymon localhost "drop myserver bbd"


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

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
list Schminke_Erik_D · Fri, 4 Aug 2017 12:49:33 -0500 ·
So, not to point out the obvious, but you are executing the xymon 127.0.0.1
"drop hostname testname" command on the actual xymon server, correct?

Next, check the hosts.cfg file.  The drop command syntax is "drop hostname
testname".  Make sure the hostname portion matches what is on the line in
your hosts file where the unwelcome purple test exists.

So if your hosts line is:
0.0.0.0 myserver # foo bar etc

Make sure you're using:
xymon 127.0.0.1 "drop myserver bbd"

Not:
xymon 127.0.0.1 "drop myserver.example.com bbd"

Something else you might try, if your host is actually listed as its FQDN..

If your hosts.cfg file is
0.0.0.0 myserver.example.com # foo bar etc

Try:
xymon 127.0.0.1 "drop myserver,example,com bbd"

Also, there would also be data for a bbd test in the following additional
locations:
- data/histlogs/myserver_example_com/bbd/
- data/rrd/myserver.example.com/ (look for something "tcp.bbd.rrd")

Hopefully by manually deleting the data already, you haven't shot yourself
in the foot in terms of this command working successfully.  i.e., it sees
the first location was empty, so it assumes everything has already been
done and stops early


Erik D. Schminke | Associate Systems Programmer
Hormel Foods Corporation | One Hormel Place | Austin, MN XXXXX
Phone: (XXX) XXX-XXXX
user-15513f33c451@xymon.invalid | www.hormelfoods.com