how to remove the size value from graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Chite
Posts: 23
Joined: Tue Jan 26, 2016 5:32 pm

how to remove the size value from graph

Post by Chite »

Hey guys, I've setup a new "check_http" alarm and I'm noticing when I'm looking at the graphing it's showing two values
1. time (last/avg/max)
2. size (last/avg/max)

I'm not sure what the size value is referring too? is it size of packets for the nrpe plugin?
anyway, I'd like to remove this from the graph but I don't see an option to do this in the nagios xi configuration screen or in the CCM. any thoughts on how to get rid of that value?

thanks!
Chite
Posts: 23
Joined: Tue Jan 26, 2016 5:32 pm

Re: how to remove the size value from graph

Post by Chite »

looking into it a little more, it looks like size is referring to page size. is there anyway of removing that value from the graph?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to remove the size value from graph

Post by scottwilkerson »

The default graph display all the metrics returned by the plugin.

You can create a graph with just the datasources (metrics) you want at
Home -> Graph Explorer -> Multistacked Performance Graph Tab

Select Host
Service
Data Type

The you can use the dashify icon to add this to a dashboard
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Chite
Posts: 23
Joined: Tue Jan 26, 2016 5:32 pm

Re: how to remove the size value from graph

Post by Chite »

That's good information but it doesn't update the graph in the service status detail. Is there a way to modify the plugin, or copy the plugin and modify that one to remove the size value and only display the time value on the graph?
Chite
Posts: 23
Joined: Tue Jan 26, 2016 5:32 pm

Re: how to remove the size value from graph

Post by Chite »

could I modify the Graph Template and import it in as a new graph template and use that? problem with that is I don't know how to use that newly imported graph with the new service monitor I just setup....
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: how to remove the size value from graph

Post by scottwilkerson »

Chite wrote:could I modify the Graph Template and import it in as a new graph template and use that? problem with that is I don't know how to use that newly imported graph with the new service monitor I just setup....
No, new XI doesn't use them.

The only thing that you could would would be to create a wrapper plugin that called this plugin with args and stripped the output off of this plugin and returned the same results and exit code.

This would be something you would have to create yourself
I'll attach the Nagios Plugin Development Guidelines

https://nagios-plugins.org/doc/guidelines.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked