TECHZEN Zenoss User Community ARCHIVE  

Getting off the ground with FileSystem Thresholds

Subject: Getting off the ground with FileSystem Thresholds
Author: [Not Specified]
Posted: 2014-10-02 11:46

I'm trying to do new basic stuff - customize file system thresholds - and having a hard time getting off the ground following documentation.

Per-FileSystems Thresholds
http://wiki.zenoss.org/index.phptitle=Per-Filesystem_Thresholds&oldid=9399

Step 2: Create getFileSystemThreshold "Script (Python)" at /zport/dmd/Devices that looks like this.
How am I supposed to add a Python script to a location on a webpage

One can't navigate there until it exists.. on my new 4.2.5 system it doesn't exist.
///////////////////////////////////
Site error

An error was encountered while publishing this resource. The requested resource does not exist.
Please click here to return to the Zenoss dashboard
///////////////////////////////////

same issue (lack of specificity/clarity) with step 3
Step 3: Change FileSystem threshold to look like this.

What are we talking about It looks like a data source in a monitoring template.



Subject: Refered wiki page is not for
Author: Jan Garaj
Posted: 2014-10-02 12:48

Refered wiki page is not for 4.2.5. You should to edit template FileSystem in 4.2.5. Menu Advandced->Monitoring templates). Probably it's this URL (I have only 4.1 version here - and I'm lazy to start 4.2.5 :-D):
/zport/dmd/template#templateTree:/zport/dmd/Devices/Server/rrdTemplates/FileSystem

Warning:
It's a component template - so every filesystem of every monitored device use this one.
If you want to create different threshold per device - create local copy of template
If you want to create different threshold per device class - create copy for selected device class.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: THANK YOU jan.garaj,
Author: [Not Specified]
Posted: 2014-10-02 14:58

THANK YOU jan.garaj,

under Advanced ->Monitoring Templates with device class selected I see:
I invoked
GEAR:
Copy/ Override Template

Under Devices -> subclass,
there is now a template FileSystem, which I can modify.

It does not say (local) but it seems it must be



Subject: Navigate to <zenoss_base_url>
Author: Jay Stanley
Posted: 2014-10-02 15:01

Navigate to /zport/dmd/Devices/manage
In the upper right hand corner select the drop down menu that says "Accelerated HTTP Cache Manager" (This could be different for you)... its the drop down menu below "Set Preferences"
Select "Script (Python)"
Input new script name "getFileSystemThreshold"
Click Add and Edit



Subject: Copy/ Override Template ->
Author: Jan Garaj
Posted: 2014-10-02 15:11

Copy/ Override Template -> you can create copy for device class
In device->filesystem details->display templates http://postimg.org/image/sjzj4ocmn/ -> you can create local (= for one selected device) copy per device filesystem

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Sorry jan - - I never said
Author: [Not Specified]
Posted: 2014-10-20 12:44

Sorry jan - - I never said thank you



Subject: Thanks Jan, you're awesome!
Author: Andrew Kirch
Posted: 2014-10-20 13:09

Thanks Jan, you're awesome!

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
Zope becomes unresponsive
  Next
Zenoss 4.2.5 SP203 Add Multiple Devices Broken
>