<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Did you remember to tweak the clientlaunch.cfg file?  Is there anything in the log file that clientlaunch.cfg points to?  When I initially installed the service, I used apt-get
 install hobbit blah blah blah.  That worked because it installed all the pieces and it's own client.  I had to tweak the files manually after copying them off and deleting the package to use the more current xymon that I compiled myself.<br>
<br>
If you did anything similar, the log should tell you where the script is falling over.<br>
<br>
That said, I'm actually finding the monitor a bit annoying.  It's always red due to number of updates that Ubuntu pushed out and is yellow due to packages it doesn't recognize.  I'm fairly close to disabling it on my servers.<br>
<br>
=G=<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF827262"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Joseph De Nicolo [denicoloj@gmail.com]<br>
<b>Sent:</b> Monday, January 14, 2013 3:27 PM<br>
<b>To:</b> Galen Johnson<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] APT Check from Hobbit-Plugins Package - Purple Status<br>
</font><br>
</div>
<div></div>
<div>Oh I understand what you mean now, that I have to edit the apt script itself. I edited the file but I'm still having issues. Here's what I did:<br>
<br>
I added this line to /home/xymon/client/ext/apt:  use lib "/etc/perl";<br>
<br>
I also changed this line: my $ext_apt_config = "/etc/xymon";  to this -> my $ext_apt_config = "/home/xymon/client/etc";  because /etc/xymon doesn't even exist.<br>
<br>
Unfortunatly it did not fix the problem and the tests are still purple. I even executed the script manually but the server still did not receive the update. Its weird that it worked the first time i manually executed the apt script but now it wont work at all
 on all clients except 1.<br>
<br>
One of my clients is running the apt script automatically just like it should, but my other 3 production clients are showing purple status still and not sending the test results to the server. I don't understand how that can be when I did the same steps on
 copying the files on all the machines. The 1 client that is working has unmodified files(the changes mentioned above were not applied). Its working so I don't want to touch it.<br>
<br>
<div class="gmail_quote">On Mon, Jan 14, 2013 at 3:01 PM, Galen Johnson <span dir="ltr">
<<a href="mailto:Galen.Johnson@sas.com" target="_blank">Galen.Johnson@sas.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">I wouldn't expect it to.  As I said, that is where I put mine...you would need to change that to the path that you put your copy...I'm assuming "/etc/perl" in your case.<br>
<br>
=G=<br>
<br>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Joseph De Nicolo [<a href="mailto:denicoloj@gmail.com" target="_blank">denicoloj@gmail.com</a>]<br>
<b>Sent:</b> Monday, January 14, 2013 2:46 PM<br>
<b>To:</b> Galen Johnson<br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] APT Check from Hobbit-Plugins Package - Purple Status<br>
</font><br>
</div>
<div></div>
<div>
<div>
<div class="h5">this directory /usr/local/xymon/perl5  doesn't exist for me.<br>
<br>
Clients are running Ubuntu 10.04.4 LTS<br>
Xymon server is running Ubuntu 12.04.1 LTS<br>
<br>
<div class="gmail_quote">On Mon, Jan 14, 2013 at 2:27 PM, Galen Johnson <span dir="ltr">
<<a href="mailto:Galen.Johnson@sas.com" target="_blank">Galen.Johnson@sas.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">I'm surprised it worked initially.  I had to add the following above the other use statements:<br>
<br>
use lib "/usr/local/xymon/perl5";<br>
<br>
which is where I copied the Hobbit.pm file.   Unless /etc/perl is part of your Perl @INC path, it won't find it.  I think I may even have tweaked everything that said hobbit/bb to say xymon.<br>
<br>
=G=<br>
<br>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> <a href="mailto:xymon-bounces@xymon.com" target="_blank">
xymon-bounces@xymon.com</a> [<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>] on behalf of Joseph De Nicolo [<a href="mailto:denicoloj@gmail.com" target="_blank">denicoloj@gmail.com</a>]<br>
<b>Sent:</b> Monday, January 14, 2013 12:44 PM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] APT Check from Hobbit-Plugins Package - Purple Status<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>Xymon Users & Admins,<br>
<br>
I recently installed an apt check on my clients that I received from this hobbit-plugins package:<br>
<a href="https://code.launchpad.net/ubuntu/+source/hobbit-plugins" target="_blank">https://code.launchpad.net/ubuntu/+source/hobbit-plugins</a><br>
<br>
Steps for Installation:<br>
1. Copy over client-ext/apt script to client/ext/apt<br>
2. Gave xymon user rights to execute the apt script<br>
3. Copy over perl/Hobbit.pm to /etc/perl/Hobbit.pm<br clear="all">
4. Copy and pasted the lines found in clientlaunch.d/apt.cfg to the end of client/etc/clientlaunch.cfg and modified the paths(ENVFILE & LOGFILE) to fit my client's environment
<br>
<br>
The problem:<br>
I set this up last week on friday jan 11th. At that time I ran the client/ext/apt script as xymon user and it gave the report as expected. However, after the weekend the last report was the same one on the 11th so I am receiving a purple status for inactivity
 of the report. The clients are not automatically sending the apt check report to the server. Anything I missed in the installation or something I have to do server side?<br>
<br>
Any response appreciated<br>
Thanks,<br>
<div><font color="#000099" face="georgia, serif" size="4"><b><u>                                                            </u></b></font></div>
<div><font color="#000099" face="georgia, serif" size="4"><b><i>Joseph De Nicolo</i></b></font></div>
<div><i><font color="#333333" face="courier new, monospace">Secure Database Administrator<br>
</font></i></div>
<div><i><font color="#333333" face="courier new, monospace"><a href="http://www.barabasilab.com" target="_blank">Center for Complex Network Research</a></font></i></div>
<div><i><font color="#333333" face="courier new, monospace">Northeastern University</font></i></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
</div>
</div>
<div class="im">-- <br>
<div><font color="#000099" face="georgia, serif" size="4"><b><u>                                                            </u></b></font></div>
<div><font color="#000099" face="georgia, serif" size="4"><b><i>Joseph De Nicolo</i></b></font></div>
<div><i><font color="#333333" face="courier new, monospace">Secure Database Administrator<br>
</font></i></div>
<div><i><font color="#333333" face="courier new, monospace"><a href="http://www.barabasilab.com" target="_blank">Center for Complex Network Research</a></font></i></div>
<div><i><font color="#333333" face="courier new, monospace">Northeastern University</font></i></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div><font color="#000099" face="georgia, serif" size="4"><b><u>                                                            </u></b></font></div>
<div><font color="#000099" face="georgia, serif" size="4"><b><i>Joseph De Nicolo</i></b></font></div>
<div><i><font color="#333333" face="courier new, monospace">Secure Database Administrator<br>
</font></i></div>
<div><i><font color="#333333" face="courier new, monospace"><a href="http://www.barabasilab.com" target="_blank">Center for Complex Network Research</a></font></i></div>
<div><i><font color="#333333" face="courier new, monospace">Northeastern University</font></i></div>
<div><img src="http://i7.photobucket.com/albums/y265/SsLaZiO77/icon_sciarpa01.gif"></div>
</div>
</div>
</div>
</body>
</html>