Ext scripts not working from an include file?
list Ben Boulanger
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
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
Hi,
▸
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
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.
▸
-----Original Message-----
Maybe you should modify your scripts so they use "bbhostgrep" utility
(in bin/) instead of directly grepping the bb-hosts file.