Dynamic Graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Dynamic Graphs

Post by optionstechnology »

Many of our checks require dynamic graphing where the actual names of the entries may change over time

For example a check which charts the top ten processes by memory usage

The problem is when we run this currently the initial top ten are added to the graph, but if one of those processes drops out of the top ten and is replaced by another, the graph is unable to update to the new name

Is there a way around this? Has anyone ever setup something similar?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Dynamic Graphs

Post by cdienger »

If you're simply trying plot the memory usage of the top ten processes and don't care necessarily about the names, then this should be doable.

I used a test script like the following:

Code: Select all

#!/bin/bash

echo "test. | 'process_x'=1;;;; 'process_y'=5;;;;"

exit 0
changing the labels 'process_x' and 'process_y' will update the graph labels accordingly however the historical data will point to data associated with the old label(process).

If the historical data must point to the old process name, then I'm afraid I'm not aware of any work around to this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked