From: <kco...@ry...> - 2011-09-27 11:37:06
|
As Jeremy said, don't forget to "readbbhosts"....but on a side note because cron was mentioned..... I actually cron mine to "readbbhosts" once a day in the wee hours....this just makes things seamless for the others in my group who add to the hosts file but don't really know what Devmon is or how to make it do its magic ;) Ken Connell Intermediate Network Engineer Computer & Communication Services Ryerson University 350 Victoria St RM AB50 Toronto, Ont M5B 2K3 416-979-5000 x6709 -----Original Message----- From: Jeremy Laidman <jla...@re...> Date: Tue, 27 Sep 2011 13:28:37 To: <dev...@li...> Reply-to: dev...@li... Subject: Re: [Devmon] different templates for hardware reporting identical sysdesc 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |