<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<p><font size="+1"><font face="Arial">Hi</font></font></p>
<p><font size="+1"><font face="Arial">I was asked to create a test
for the non/existence of crontab in hundreds of testers
accounts. The issue is that those accounts using cron daily in
order the refresh the testing environments during nights in
preparation for next day activities. Testers being testers,
quite often removed those crontabs, creating havoc for other
testers.</font></font> <font size="+1"><font face="Arial"><span
style="font-size: 16px">I wrote a small script which runs
from each of those accounts cron, and sends "All good" to
the xymon server. If crontab removed, the test obviously
goes purple. This is working fine, but the Operation team
who monitors xymon, is less sensitive to tests goes purple
rather then red,and too often fails to report it. A while
ago, someone asked the same question of mapping purple to
red, and I said to myself, "Oh, I should remember this!"
which of-course, I didn't, and can't find that exchange...
can anyone help with this?</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px"><br>
</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px">The
other issue with this solution, is that there are hundreds
of those account, and being lazy, I'm not too enthusiastic
with the idea of maintaining arm length COMPACT lists. So
what i tried to do is to use a wild card with the column
name which is also the user name. So e.g. tester1 account
will send a column c_tester1 etc. The compact will be
COMPACT:crontab=c_.*</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px">This
is working - sought-of - there is a column named crontab,
populated with all of the c_test accounts, BUT it also
creates a column for each of them on the main page. Is there
a way around it, or it is not a workable solution?</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px">Cheers</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px">Ron</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px"><br>
</span></font></font></p>
<p><font size="+1"><font face="Arial"><span style="font-size: 16px"></span><br>
</font></font></p>
</body>
</html>