|
From: Jeremy L. <jla...@re...> - 2011-09-27 03:35:42
|
On Tue, Sep 27, 2011 at 7:56 AM, <kco...@ry...> wrote: > Just had this issue, drove me nuts.... > Likewise. Don't forgot to re-run "devmon --readbbhosts" manually if it's not run from cron. > Create/copy a new template and in the specs file change the model to > something slightly different but unique. > I create symlinks for all tests that are the same, pointing to the "official" version. Then I can keep them upgraded without having to re-copy them into the cloned version. In the spec file, you can only match on the sysdesc string. So presently, there's no way of being more selective except for mapping on a per-host basis, as Ken described. What would be really useful is to be able to specify the device matching in the spec file more precisely. For example, it would be neat to be able to add one of these into the spec file: oid-exists : 1.3.6.1.4.1.232.3.2.4.1.1.1 oid-exists : tcpConnLocalPort.127.0.0.1.25.0.0.0.0.0 oid-value : 1.3.6.1.4.1.232.3.2.4.1.1.1 > 0 oid-value : sysLocation =~ /Site2/ (The OID used here refers to the HP/Compaq drive hot-spare count.) Cheers Jeremy |