Here's the output from the --test.
root at ip:/xymon/bin# ./bbcmd xymond_alert --test VM-Firewall proc
2013-11-09 17:31:40 Using default environment file
/usr/lib/xymon/client/etc/xymonserver.cfg
00011942 2013-11-09 17:31:40 send_alert VM-Firewall:proc state Paging
00011942 2013-11-09 17:31:40 Matching host:service:dgroup:page
'VM-Firewall:proc:Innovate Servers:' against rule line 1
00011942 2013-11-09 17:31:40 *** Match with 'HOST=*' ***
00011942 2013-11-09 17:31:40 Matching host:service:dgroup:page
'VM-Firewall:proc:Innovate Servers:' against rule line 2
00011942 2013-11-09 17:31:40 *** Match with 'MAIL
user-002915a21a76@xymon.invalid=red' ***
00011942 2013-11-09 17:31:40 Mail alert with command 'mail -s "Xymon
[12345] VM-Firewall:proc CRITICAL (RED)" user-800263fcb636@xymon.invalid'
Thank you.
*Kris Springer*
*=======================*
On Sat, Nov 9, 2013 at 3:32 PM, Carl Inglis <user-96685bdc864b@xymon.invalid> wrote:
Hi Kris,
Searching the Archives I found this:
http://lists.xymon.com/archive/2008-June/019952.html
It includes an example of the “—test” option which will allow you to
ensure that your tests are firing correctly.
Hope that helps.
Carl
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Kris
Springer
*Sent:* 09 November 2013 22:45
*To:* Henrik Størner; Xymon MailingList
*Subject:* Re: [Xymon] not receiving alerts
I've attached a screen shot of the 'info' page of the host that's red.
Strangely enough the notifications.log file suddenly has some data in it
now that I stripped some options out of the alerts.cfg file.
Here's some of the notifications.log data. I X'd out the IP that was
showing.
Sat Nov 9 11:50:47 2013 VM-Firewall.ssh (x.x.x.x)
user-800263fcb636@xymon.invalid[2] 1384026647 722
Sat Nov 9 12:12:48 2013 VM-Firewall.ssh (x.x.x.x)
user-800263fcb636@xymon.invalid[2] 1384027968 722
Sat Nov 9 12:20:57 2013 VM-Firewall.ssh (x.x.x.x)
user-800263fcb636@xymon.invalid[2] 1384028457 722
Sat Nov 9 12:35:59 2013 VM-Firewall.ssh (x.x.x.x)
user-800263fcb636@xymon.invalid[2] 1384029359 722
Sat Nov 9 14:31:55 2013 VM-Firewall.ssh (x.x.x.x)
user-800263fcb636@xymon.invalid[2] 1384036315 722
Thank you.
*Kris Springer*
*=======================*
On Sat, Nov 9, 2013 at 1:02 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
On 09-11-2013 19:49, Kris Springer wrote:
Here's my new alerts.cfg file. It didn't change anything though. I'm
still not receiving alerts. To force a trouble situation I've got a
line in my hosts file that's checking for ssh on a machine that has it
turned off so it will cause a red alert.
HOST=*
MAIL user-800263fcb636@xymon.invalid <mailto:user-800263fcb636@xymon.invalid>
COLOR=red RECOVERED NOTICE
First, check the "info" status column for that host: The alert must be
shown there, or your configuration is not being picked up.
Second, check the notifications.log logfile to see if the alerts are being
sent. If they are, then you need to look into the mail logs.
Third, try running xymond_alert with the "--test HOSTNAME SERVICE" option
to see what rules get picked up; see the man-page.
Regards,
Henrik