1
Name: ZenPacks.ShaneScott.CPUCount Compatibility: Compatible with Zenoss >3.0.0 (py2.6) and Zenoss >2.5.2 (py2.4) Contact: Shane Scott, http://shanewilliamscott.com , [email protected] Description: First model of a device populates a hidden property CPUCount equal to 1, polls via SNMP for a count of logical CPUs and finally dumps the value in to CPUCount. Invalid models will return 1 by default. Provided CPU templates calculate thresholds based on the hidden property CPUCount via method getCpuCount(). setCpuCount(count) provided to facilitate setting count. Installation: On the zenoss master, `su zenoss` Traverse to the directory containing ZenPacks.ShaneScott.CPUCount-1.0.0-py2(x).egg Be sure the zenpack is owned by zenoss. If it isn't, `chown zenoss:zenoss ZenPacks.ShaneScott.CPUCount-1.0.0-py2.(x).egg` Issue a `zenpack –install=ZenPacks.ShaneScott.CPUCount-1.0.0-py2.(x).egg` If any traceback occurs, save it and email [email protected] Issue a `zenoss restart` Assign the modeler to device classes *If you're using multiple collectors, be sure to also 'Update Collectors' on the collectors page. Removal: On the zenoss master, `su zenoss` Issue `zenpack --remove= ZenPacks.ShaneScott.CPUCount` If any traceback occurs, save it and email [email protected] If no errors occur, issue a `zenoss restart` *If you're using multiple collectors, be sure to also 'Update Collectors' on the collectors page. *Be sure to remove the modeler reference on device classes using the plugin Modification: N/A Known Issues: N/A

ZenPack.ShaneScott.CPUCount

Embed Size (px)

DESCRIPTION

free

Citation preview

  • Name: ZenPacks.ShaneScott.CPUCountCompatibility: Compatible with Zenoss >3.0.0 (py2.6) and Zenoss >2.5.2 (py2.4)Contact: Shane Scott, http://shanewilliamscott.com, [email protected]: First model of a device populates a hidden property CPUCount equal to 1, polls via SNMP for a count of logical CPUs and finally dumps the value in to CPUCount. Invalid models will return 1 by default. Provided CPU templates calculate thresholds based on the hidden property CPUCount via method getCpuCount(). setCpuCount(count) provided to facilitate setting count.

    Installation: On the zenoss master, `su zenoss` Traverse to the directory containing ZenPacks.ShaneScott.CPUCount-1.0.0-py2(x).egg Be sure the zenpack is owned by zenoss. If it isn't, `chown zenoss:zenoss

    ZenPacks.ShaneScott.CPUCount-1.0.0-py2.(x).egg` Issue a `zenpack install=ZenPacks.ShaneScott.CPUCount-1.0.0-py2.(x).egg` If any traceback occurs, save it and email [email protected] Issue a `zenoss restart` Assign the modeler to device classes *If you're using multiple collectors, be sure to also 'Update Collectors' on the collectors

    page.

    Removal: On the zenoss master, `su zenoss` Issue `zenpack --remove= ZenPacks.ShaneScott.CPUCount` If any traceback occurs, save it and email [email protected] If no errors occur, issue a `zenoss restart` *If you're using multiple collectors, be sure to also 'Update Collectors' on the collectors

    page. *Be sure to remove the modeler reference on device classes using the plugin

    Modification: N/A

    Known Issues: N/A