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!
how to remove the size value from graph
Re: how to remove the size value from graph
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
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
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
Re: how to remove the size value from graph
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?
Re: how to remove the size value from graph
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
No, new XI doesn't use them.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....
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