Hi,
I am new to PRTG, and while my experience has been great so far, I am stuck with some manual / scripted sensor manipulations.
Specifically, I am trying to chart EMC Data Domain physical capacity measurements, values which are not exposed by the EMC Data Domain MIB, but can be obtained at a command line as follows:
SERVICES\jonathanb@hostname# compression physical-capacity-measurement sample show history MTree: /data/col1/MTREE_ONE Measurement Time Logical Used Physical Used Global-Comp Local-Comp Total-Comp (Pre-Comp) (Post-Comp) Factor Factor Factor (GiB) (GiB) (Reduction %) ------------------- ------------ ------------- ----------- ---------- --------------- 2017/09/04 19:34:17 0.0 0.0 0.00x 0.00x 0.00x (0.00%) 2017/09/10 06:00:03 133.9 13.0 6.64x 1.55x 10.28x (90.28%) 2017/09/14 16:18:26 117.3 12.7 5.97x 1.55x 9.24x (89.18%) 2017/09/17 06:00:03 150.9 14.2 6.86x 1.55x 10.63x (90.59%) 2017/09/23 02:45:56 184.4 15.6 7.63x 1.55x 11.84x (91.55%) ------------------- ------------ ------------- ----------- ---------- --------------- MTree: /data/col1/MTREE_TWO Measurement Time Logical Used Physical Used Global-Comp Local-Comp Total-Comp (Pre-Comp) (Post-Comp) Factor Factor Factor (GiB) (GiB) (Reduction %) ------------------- ------------ ------------- ----------- ---------- -------------- 2017/09/04 19:33:57 0.0 0.0 0.00x 0.00x 0.00x (0.00%) 2017/09/10 06:00:02 45120.8 8314.3 1.85x 2.94x 5.43x (81.57%) 2017/09/14 16:17:07 69841.0 11729.8 2.04x 2.92x 5.95x (83.21%) 2017/09/17 06:00:04 151515.1 18180.3 2.88x 2.89x 8.33x (88.00%) 2017/09/23 02:45:55 197882.5 20609.3 3.34x 2.88x 9.60x (89.59%) ------------------- ------------ ------------- ----------- ---------- -------------- Total number of measurements retrieved = 10.
The goal is that each MTREE (think directory / accounting unit), I want to plot Logical Used and Physical Used over Time; where time would be sampling once per week. This information is currently available in a different system, but I want to record and expose it through a PRTG MAP:
The challenge with the SSH Script sensor is that the DDOS is locked down so that you can't create or store a script on it.
- Any suggestions how I could access the data from PRTG?
- Any suggestions how I could parse the entries in PRTG into channels to allow the type of chart I need?
Article Comments
Hi Felix,
In this case, DDOS = Data Domain Operating System, the highly customised OS running on EMC Data Domain systems.
It affects the script because you can't write to the file system, you can't put a script on the Data Domain.
I am thinking I may need to store something like a Powershell script locally on my PRTG host, and use that to establish an SSH session to the Data Domain, and parse the returned values into channels...but I have no idea how to do that.
Sep, 2017 - Permalink
Hi there,
Thanks for clearing that up with the "DDOS". :)
You can also try to build a PowerShell-script (as you already suggested) by using the "EXE/Script Sensors":
https://www.paessler.com/manuals/prtg/exe_script_sensor
https://www.paessler.com/manuals/prtg/exe_script_advanced_sensor
The correct syntax of these sensors is described within the PRTG Webinterface under "Setup > PRTG API".
Best regards.
Sep, 2017 - Permalink
Hello JBourke,
I understand what you try to achieve, but I only know DDoS as a Distributed-Denial-of-Service, how exactly does this affect the creation of the script?
There are two ways to create you own sensor:
The required syntax to create multiple channels is described on the
Setup | PRTG API | Custom Sensor page.
Best regards, Felix
Sep, 2017 - Permalink