Wrong data - SWAP - Performance graph
-
sify_nagios
- Posts: 54
- Joined: Thu Aug 20, 2015 8:01 am
Wrong data - SWAP - Performance graph
Dear Team,
I would like to get clarified on SWAP performance graph. Unlike other parameters swap uses free value to plot the graph.
Which is not desired in performance graphing.
Ex : One server having 0% swap utilized. But the graph showing like swap is fully utilized.
Value :
But the graph is displayed like the swap fully utilized.
Graph :
Kindly let us know how to fix the above issue asap.
Rgds
Srini
I would like to get clarified on SWAP performance graph. Unlike other parameters swap uses free value to plot the graph.
Which is not desired in performance graphing.
Ex : One server having 0% swap utilized. But the graph showing like swap is fully utilized.
Value :
But the graph is displayed like the swap fully utilized.
Graph :
Kindly let us know how to fix the above issue asap.
Rgds
Srini
You do not have the required permissions to view the files attached to this post.
Re: Wrong data - SWAP - Performance graph
Could you show us the check_command associated with the service so we can see the exact way it's being executed? This will help us take a look at it on our end.
Former Nagios Employee
-
sify_nagios
- Posts: 54
- Joined: Thu Aug 20, 2015 8:01 am
Re: Wrong data - SWAP - Performance graph
Hi Kennedy,
Please find the below check command for your reference.
Host is configured using Linux wizard provided in Naigos XI.
Please get back to for more info.
Rgds
Srini
Please find the below check command for your reference.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 192.168.87.27 -t 30 -c check_swap -a '-w 50 -c 20'Please get back to for more info.
Rgds
Srini
Re: Wrong data - SWAP - Performance graph
The check_swap plugin's output is setup to show the amount of free space for the SWAP and not used space.
You may want to look at this plugin should show the amount of used SWAP which is what you are looking for.
https://exchange.nagios.org/directory/P ... ux/details
You may want to look at this plugin should show the amount of used SWAP which is what you are looking for.
https://exchange.nagios.org/directory/P ... ux/details
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sify_nagios
- Posts: 54
- Joined: Thu Aug 20, 2015 8:01 am
Re: Wrong data - SWAP - Performance graph
Hi Team,
Even though it intend to get the free space in swap.
Graph shouldn't be formed with free space right..? Graph should be in up stream not down stream.
Correct me if i am wrong.
Rgds
Srini
Even though it intend to get the free space in swap.
Graph shouldn't be formed with free space right..? Graph should be in up stream not down stream.
Correct me if i am wrong.
Rgds
Srini
Re: Wrong data - SWAP - Performance graph
The graph is showing the correct information, the amount of free swap on that system.
The check_swap plugin's performance data output is returning the free space in the swap. That output is used for the performance graph which has the correct output.
I don't understand what you mean by "Graph should be in up stream not down stream.", can you provide more information about this?
The check_swap plugin's performance data output is returning the free space in the swap. That output is used for the performance graph which has the correct output.
I don't understand what you mean by "Graph should be in up stream not down stream.", can you provide more information about this?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sify_nagios
- Posts: 54
- Joined: Thu Aug 20, 2015 8:01 am
Re: Wrong data - SWAP - Performance graph
Hi,
Even though plugin retrieves the free space, graph should be plotted by used space right? We can get the used space out of free and total and plot the graphs right ?
Then only we can identify by which time swap value get utilized and also to understand the swap usage growth.
Current graph gives an impression like full graph gets utilized unlike the reality.
If i have submitted this to customer, he would have asked "Is my server utilizing full SWAP memory?"
How can i handle the issue?
I hope i am clear to you now and also conveyed my issue to you clearly.
Rgds
Srini
Even though plugin retrieves the free space, graph should be plotted by used space right? We can get the used space out of free and total and plot the graphs right ?
Then only we can identify by which time swap value get utilized and also to understand the swap usage growth.
Current graph gives an impression like full graph gets utilized unlike the reality.
If i have submitted this to customer, he would have asked "Is my server utilizing full SWAP memory?"
How can i handle the issue?
I hope i am clear to you now and also conveyed my issue to you clearly.
Rgds
Srini
Re: Wrong data - SWAP - Performance graph
No, the graph is showing free space which is the correct output for that plugin.
If you want to plot used swap space, you will have to select another plugin from the link I provided earlier.
If you want to plot used swap space, you will have to select another plugin from the link I provided earlier.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
sify_nagios
- Posts: 54
- Joined: Thu Aug 20, 2015 8:01 am
Re: Wrong data - SWAP - Performance graph
I do have 1000+ linux server monitoring. Its additional work for me add new script and configure in GUI.tgriep wrote:No, the graph is showing free space which is the correct output for that plugin.
If you want to plot used swap space, you will have to select another plugin from the link I provided earlier.
This plugin is not a one which i have added from outside.
Its comes in default wizard of nagios xi(linux wizard).
We are not following plotting free value in graphs in other parameters(memory, disk etc..)
Why SWAP alone? Don't you think Isn't odd ?
Rgds
Srini.
Re: Wrong data - SWAP - Performance graph
You could edit the check_swap command. replacing the plugin with one that you need, making sure the command line options are compatible and that would change all of the checks at once.
The only downside is that the graphs may have to be deleted so they will get recreated as the data / labels will not match.
The only downside is that the graphs may have to be deleted so they will get recreated as the data / labels will not match.
Be sure to check out our Knowledgebase for helpful articles and solutions!