On Thursday 27 December 2007 21:32:41 Joshua Krause wrote:
> I have a device that is called the "Babel Buster" made by Control
> Solutions. And it receives information from 2 generators from a modbus that
> is installed in each generator. Now I am able to log into the "Babel
> Buster" and view the information I am polling from each generator and the
> oids for the data for each generator are different. So my question is can
> I set up one template in devmon and have it only show certain information
> that it is receiving for 2 different hosts. Or is it best just to setup 2
> templates, one for each generator, and then in my bb-hosts file signify
> which is what by having a specs file look like this for generator 1 and 2:
>
>
>
> Generator 1 Specs file:
>
> vendor : babelbuster
>
> model : bbsp-1
>
> snmpver : 2
>
> sysdesc : bbsp
>
>
> Generator 2 Specs file:
>
> vendor : babelbuster
>
> model : bbsp-2
>
> snmpver : 2
>
> sysdesc : bbsp
>
>
>
> Would this idea of 2 different specs files with 2 different templates work
> better or be the best way to do it?
I think one template with two tests, and disable the irrelevant test for the
host via a DEVMON tests option, e.g.:
x.x.x.x generator-1.xxx.com # DEVMON:tests(bbsp1)
x.x.x.x generator-2.xxx.com # DEVMON:tests(bbsp2)
(If I understand correctly)
Regards,
Buchan
|