Hello. Running Hobbit 4.0.4.
In my alerts, I have the following alert:
HOST=dclcore SERVICE=aaierr MAIL vhm at deltafaucet.com COLOR=yellow
But, it doesn't recognize the COLOR=yellow. In the info column, it's just blank under the COLORS column and doesn't alert either. If I change it to COLOR=red, it shows red. COLOR=yellow,red shows red only.
In the hobbitserver.cfg, I have: ALERTCOLORS="red,purple" # Colors to alert on.
The command:
~/server/bin/bbcmd --env=/usr/local/hobbit/server/etc/hobbitserver.cfg
hobbitd_alert --dump-config
shows this:
HOST=dclcore SERVICE=aaierr MAIL vhm at deltafaucet.com FORMAT=TEXT REPEAT=30 COLOR=yellow
Has anyone had the same problem?
Thanks David
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Hi David,
In <9FAC236A8D9FF148952139690650E31605CBC61A at indymail_2.deltafaucet.com> "Stuffle, David" <dstuffle at deltafaucet.com> writes:
In my alerts, I have the following alert:
HOST=dclcore SERVICE=aaierr MAIL vhm at deltafaucet.com COLOR=yellow
But, it doesn't recognize the COLOR=yellow. In the info column, it's just blank under the COLORS column and doesn't alert either. If I change it to COLOR=red, it shows red. COLOR=yellow,red shows red only.
In the hobbitserver.cfg, I have: ALERTCOLORS="red,purple" # Colors to alert on.
ALERTCOLORS has precedence over what you put into hobbit-alerts.cfg. Setting this to "red,purple" means that the alert module will only see red and purple events - NEVER yellow ones. So putting a COLOR=yellow in the hobbit-alerts.cfg has no effect.
If you need the alert on yellow, you'll have to make ALERTCOLORS include yellow.
Henrik
The setting for a process with just the minimum specified does not
appear to work? The output below should have displayed yellow alarms.
This does not work in reality either . We have numerous other processes
we have set to a minimum of 1 and an unlimited maximum that are firing
red alarms, when we would like to see yellows.
PROC TCOMSServer5 1 5 yellow
PROC TCOMSServer6 1 yellow
hobbit at hobbit:/export/home/hobbit/server/etc> ../bin/bbcmd ../bin/hobbitd_client --test 2005-09-28 16:42:30 Using default environment file /export/home/hobbit/server/etc/hobbitserver.cfgHostname (.=end, ?=dump, !=reload) []: omzint06 Test (cpu, mem, disk, proc): proc ps command string:
Process TCOMSServer5 color yellow: Count=0, min=1, max=5 Process TCOMSServer6 color red: Count=0, min=1, max=-1
In <433AE53D.6050404 at psicorp.mcilink.com> David Gore <dwgore at psicorp.mcilink.com> writes:
The setting for a process with just the minimum specified does not appear to work? The output below should have displayed yellow alarms.
4.1.1 has several bugs in how it parses the configuration file. Could you try using the latest snapshot version ?
Regards, Henrik
participants (3)
-
dstuffle@deltafaucet.com
-
dwgore@psicorp.mcilink.com
-
henrik@hswn.dk