On 4/19/07, MoreDakka <[EMAIL PROTECTED]> wrote:
Alright, I will do my best to explain the situation that I'm running into:(These are example computers) CompA, CompB, CompC I will add these machines at the Devices Class " / " (Under Devices it will show as being under "/Devices"). In the PerfConf it will show RRDTemplate as "/Devices" which is what it should be. I take CompA and move it to "/Servers/Windows". In the PerfConf it will show RRDTemplate as "/Servers/Windows". For my http monitoring I only want it on CompB and CompC. So I click on (under Main Views on the left) "Devices" then click the "Classes" tab. In the "Sub-Devices" part of the window in the input box I will enter "Custom-Monitors" and click "Add". Once the screen refreshes there will be a new Sub-Device called "Custom-Monitors". I click on the link for "Custom-Monitors" then click on the "PerfConf" tab. This window has all the Performance Templates from the "/Devices" class. Under the "Performance Templates" in the input box I'll put "http-monitoring" then click "add". Now I have another Performance Template called "http-monitoring". I click on the link, I will now be in the properties of that Performance Template. Under DataSources part of the window, in the input box I'll put in "check_http" then click "Add". That will create a datasource called "check_http". I click on the link for "check_http", zenoss sets up the performance template for SNMP, I change that to COMMAND and have the following settings: Name - check_http Source Type - COMMAND Enabled - True Use SSH - False Component - Event Class - /Net Event Key - check_http Severity - Critical Cycle Time - 60 Command Template - /usr/local/zenoss/libexec/check_http -I ${dev/manageIp} -e "HTTP/1" Click on Save, then click on "Devices" on the left menu. Select (with the check box) CompB and CompC. In the drop down box select "/Custom-Montors" then click "Move To". To make sure the devices are in that group I'll select the "Classes" tab then click on the "Custom-Monitors" link. In the Devices part of the window it will show CompB and CompC. So I want to make sure that they are grabbing the correct template, I click on the link for CompB, then select the "PerfConf" tab. It shows the "RRDTemplate @ /Devices" . Check CompC, Same thing. That's about as detailed as I can get it. Thanks for going through this with me.
Well, after all that explanation I have a very simple explanation to give you. "Device" is a special name for a performance template. It gets applied at the device level. If you want your performance template applied at the device level (and you do,) it needs to be called "Device." So what you probably want to do is make a copy of the base Device template, copy it to your sub-class then add your check_http data source to that template. -- Chet Luther [EMAIL PROTECTED] _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
