memory performance graph
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
memory performance graph
Hi everybody;
i checking the memory and the result in performance graph displayed in MB.
How can i display it in percentage instead of MB?
i checking the memory and the result in performance graph displayed in MB.
How can i display it in percentage instead of MB?
Regards,
Murawweh Daher
Murawweh Daher
Re: memory performance graph
Can you post which plugin you are running?
Depending on the plugin, if you add the percent to your warning and critical thresholds, that could change the performance output to percentage.
Depending on the plugin, if you add the percent to your warning and critical thresholds, that could change the performance output to percentage.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
Re: memory performance graph
i use check_snmp_mem
$USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $ARG1$
what the best plugin used to check memory in percentage?
$USER1$/check_snmp_mem.pl -H $HOSTADDRESS$ $ARG1$
what the best plugin used to check memory in percentage?
Regards,
Murawweh Daher
Murawweh Daher
Re: memory performance graph
Think tom is correct- you can just get percentage output from passing the % symbol with the warning and critical:
Check this manual and since there different ways to send the command based on device, etc just find what you are looking for and test the command until it outputs how you would like.
http://nagios.manubulon.com/snmp_mem.html
Check this manual and since there different ways to send the command based on device, etc just find what you are looking for and test the command until it outputs how you would like.
http://nagios.manubulon.com/snmp_mem.html
/Luke
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: memory performance graph
It depends on the platform you're monitoring. Honestly I don't know of any for Linux, but I do believe that check_nrpe for Windows (NSCP) offers perfdata in percentage:
[jdalrymple@localhost libexec]$ ./check_nrpe -H <winhost> -c checkmem -a MaxWarn=95% MaxCrit=98%
OK: committed: Total: 31.91GB - Used: 11.318GB (35%) - Free: 20.592GB (64%), physical: Total: 15.91GB - Used: 9.968GB (62%) - Free: 5.942GB (37%)|'committed'=11.31803GB;30.31476;31.27207;0;31.91028 'committed %'=35%;94;97;0;100 'physical'=9.96821GB;15.11476;15.59207;0;15.91028 'physical %'=62%;95;97;0;100
**edit**
[jdalrymple@localhost libexec]$ ./check_nrpe -H <winhost> -c checkmem -a MaxWarn=95% MaxCrit=98%
OK: committed: Total: 31.91GB - Used: 11.318GB (35%) - Free: 20.592GB (64%), physical: Total: 15.91GB - Used: 9.968GB (62%) - Free: 5.942GB (37%)|'committed'=11.31803GB;30.31476;31.27207;0;31.91028 'committed %'=35%;94;97;0;100 'physical'=9.96821GB;15.11476;15.59207;0;15.91028 'physical %'=62%;95;97;0;100
**edit**
I can't confirm this:lgroschen wrote:Think tom is correct- you can just get percentage output from passing the % symbol with the warning and critical:
Code: Select all
[jdalrymple@localhost libexec]$ ./check_snmp_mem.pl -H 127.0.0.1 -C public -w 90%,90% -c 95%,95% -f
Argument "v6.0.1" isn't numeric in numeric lt (<) at ./check_snmp_mem.pl line 465.
Ram : 60%, Swap : 8% : ; OK | ram_used=598144;903089;953260;0;1003432 swap_used=175712;1887433;1992291;0;2097148-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
Re: memory performance graph
i tested it before but still in graph the value in MB.
You do not have the required permissions to view the files attached to this post.
Regards,
Murawweh Daher
Murawweh Daher
Re: memory performance graph
Can you go to that service check and click on the advanced tab and verify the performance data is now returning a percentage value?
If it is, you will need to delete the xml and rrd file for that service and the graph will start to populate for you.
If it is, you will need to delete the xml and rrd file for that service and the graph will start to populate for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
Re: memory performance graph
i checked it and was in MB, i remove the xml and rrd files, and wait until rebuild it, but all of that was not work, still display it in MB.
You do not have the required permissions to view the files attached to this post.
Regards,
Murawweh Daher
Murawweh Daher
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: memory performance graph
As I stated, it doesn't appear that the plugin you're using does what you want. It will either have to be customized or you will need to use a different plugin
We need to know what platform you're monitoring to be able to help further.
We need to know what platform you're monitoring to be able to help further.
.jdalrymple wrote:It depends on the platform you're monitoring. Honestly I don't know of any for Linux, but I do believe that check_nrpe for Windows (NSCP) offers perfdata in percentage:
[jdalrymple@localhost libexec]$ ./check_nrpe -H <winhost> -c checkmem -a MaxWarn=95% MaxCrit=98%
OK: committed: Total: 31.91GB - Used: 11.318GB (35%) - Free: 20.592GB (64%), physical: Total: 15.91GB - Used: 9.968GB (62%) - Free: 5.942GB (37%)|'committed'=11.31803GB;30.31476;31.27207;0;31.91028 'committed %'=35%;94;97;0;100 'physical'=9.96821GB;15.11476;15.59207;0;15.91028 'physical %'=62%;95;97;0;100
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact: