Xymon Mailing List Archive search

Ext scripts not working from an include file?

4 messages in this thread

list Ben Boulanger · Tue, 5 Dec 2006 11:35:10 -0500 ·
Hello,

 
    First - thank you for Hobbit, It's excellent and I personally love it.  

 
    The real reason for the email:  I've got a bunch of ext scripts that I converted from big brother and they seem to work fine from the bb-hosts file, but they don't operate from the include file.  Here's an example of a line that works in the bb-hosts but not in the include:

 
192.168.1.1    Hostname_of_Box # snmp chassis ntsvcs ipedge clustat drivechk pcanywhere strmstat snapchk verchk filesizes driveerrors

 
The only thing I would get is conn info and trends.

 
Anyone encounter this before?  

 
Thanks,

Ben Boulanger
list Ben Boulanger · Tue, 5 Dec 2006 11:44:08 -0500 ·
Hello,

 
    First - thank you for Hobbit, It's excellent and I personally love it.  

 
    The real reason for the email:  I've got a bunch of ext scripts that I converted from big brother and they seem to work fine from the bb-hosts file, but they don't operate from the include file.  Here's an example of a line that works in the bb-hosts but not in the include:

 
192.168.1.1    Hostname_of_Box # snmp chassis ntsvcs ipedge clustat drivechk pcanywhere strmstat snapchk verchk filesizes driveerrors

 
The only thing I would get is conn info and trends.

 
Anyone encounter this before?  

 
Thanks,

Ben Boulanger
list Charles Goyard · Tue, 5 Dec 2006 18:04:06 +0100 ·
Hi,
quoted from Ben Boulanger

Boulanger, Ben wrote :
    The real reason for the email:  I've got a bunch of ext scripts
    that I converted from big brother and they seem to work fine from
    the bb-hosts file, but they don't operate from the include file.
    Here's an example of a line that works in the bb-hosts but not in
    the include:
Maybe you should modify your scripts so they use "bbhostgrep" utility
(in bin/) instead of directly grepping the bb-hosts file.


Regards,

-- 
Charles Goyard - user-98f9625a7a59@xymon.invalid - (+33) 1 45 38 01 31
list Ben Boulanger · Tue, 5 Dec 2006 13:16:41 -0500 ·
Wow... I'm incredibly stupid for not realizing that!  I get it.  Thank you Charles.  Of course, I'm parsing the file which has nothing in it.  Please delete all emails from me on this subject so that I can hide my shame.
quoted from Charles Goyard

-----Original Message-----
Maybe you should modify your scripts so they use "bbhostgrep" utility
(in bin/) instead of directly grepping the bb-hosts file.