<font size=2 face="Calibri">HOST=myhostname(the same as in hosts.cfg NAME:myhostname
SERVICE=procs</font>
<br><font size=2 face="Calibri">MAIL </font><a href=mailto:john@testlab.local><font size=2 color=#0082bf face="Calibri"><u>john@testlab.local</u></font></a><font size=2 face="Calibri">
DURATION>10 COLOR=red</font>
<br>
<br><font size=2 face="sans-serif">The SERVICE refers to the column header
that you want to alert on.</font>
<br><font size=2 face="sans-serif">You can't alert on a specific process
or service name, only on a column colour change.</font>
<br><font size=2 face="sans-serif">If you have two different procs you
want different alerts on, you will need a custom alert script that sorts
that out, or make the second process check a custom extension script on
the client end with a corresponding different column name.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">JT</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Even Hauge Juberg <even.juberg@artsdatabanken.no></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"xymon@xymon.com"
<xymon@xymon.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">20/02/18 07:59</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">[Xymon] Configuring
alerts</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">"Xymon"
<xymon-bounces@xymon.com></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="Calibri">Hi!</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">I’ve been trying a few things to get the
correct alerts to the correct staff-member, but for some reason I cannot
get it to work. In order to find out if I’m doing something wrong within
the configuration of Xymon, or if I have to search somewhere else, I’m
reaching out here to see if anyone can give me any pointers.</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">The scenario is that I have one particular
host, that should be running a specific process. Let’s say this process
is “notepad.exe” – if “notepad.exe” is not running, John should get
an email. </font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">What I have done so far is this:</font>
<br><font size=2 face="Calibri">1.       Edited the configuration
file on my host as follows in the “procs section”: <setting name="notepad.exe"
rule="=1" comment="Notepad" alarmcolor="red"
/></font>
<br><font size=2 face="Calibri">a.       My goal here is
to check if there is one instance of notepad.exe running – if not, give
a “red alert”. </font>
<br><font size=2 face="Calibri">b.       This seems to be
working.  The host in the web-view of Xymon turns red in the procs
column, and notepad.exe is shown as running -1 instance if there is not
one running. So far so good!</font>
<br><font size=2 face="Calibri">2.       Now I want John
to be alerted if notepad is not running so I have edited the alert.cfg
in the following way:</font>
<br><font size=2 face="Calibri">a.       HOST=myhostname(the
same as in hosts.cfg NAME:myhostname) SERVICE=notepad.exe MAIL </font><a href=mailto:john@testlab.local><font size=2 color=#0082bf face="Calibri"><u>john@testlab.local</u></font></a><font size=2 face="Calibri">
DURATION>10 COLOR=red</font>
<br><font size=2 face="Calibri">b.       As “notepad.exe
is not a service, but a process this is not working. AS “procs” is not
a valid argument(at least not listed in the documentation, SERVICE was
the closest thing that came to mind. So my question is simply, is there
a way to filter alerts by the procs column or will I have to attack this
in another way? </font>
<br><font size=2 face="Calibri">c.       I would like to
avoid John getting nagged by any other red-alerts from this host, as his
responsibility is notepad. </font><font size=2 face="Wingdings">J</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">Any pointers would be highly appreciated!
</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri">Sicnerely,</font>
<br><font size=2 face="Calibri">Even Hauge Juberg</font>
<br><font size=2 face="Calibri">Senior Engineer</font>
<br><font size=2 face="Calibri">Norwegian Biodiversity Information Centre</font>
<br><font size=2 face="Calibri"> </font>
<br><font size=2 face="Calibri"> </font><tt><font size=2>_______________________________________________<br>
Xymon mailing list<br>
Xymon@xymon.com<br>
</font></tt><a href=http://lists.xymon.com/mailman/listinfo/xymon><tt><font size=2>http://lists.xymon.com/mailman/listinfo/xymon</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>