Vmware Hypervisor Memory and swap/Paging Checks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
johnnyh
Posts: 3
Joined: Tue Jun 06, 2017 11:24 pm

Vmware Hypervisor Memory and swap/Paging Checks

Post by johnnyh »

Hi,

I am currently trying to use the vmware_host_vcenter_memory_usage check, which uses the box293 plugin doing a check Host_Memory_Usage.

When I do guest checks, it reports back all types of memory including ballooning as well as swap/paging usage (even if it is 0).

However when I am running this host check, it only reports back Free/Used/Total memory and does not give swap, we have had a look at the system and it does have swap and some of the systems are even utilising some of the swap memory.

Is there a way to have this report the same way it does for guest check (in a single "Memory" check rather than mulitple checks for memory types). I am thinking this is to do with how the hypervisor is reporting the memory usage rather than the check itself, so perhaps it may be something that is configurable on the hypervisor... I am by no means a VM expert, I just have to figure out how to get the swap memory to report in Nagios.

Thanks

John
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Vmware Hypervisor Memory and swap/Paging Checks

Post by cdienger »

Hi johnnyh,

At this time it appears that that is currently on the wish list for the plugin:

To Do / Wish List
Here is a list of items that are going to be addressed sometime in the future:
* Look at the viability of checking the internal disks of the guest operating systems
*** A host swap usage check ***
* For Guest_Snapshot check, only show snapshots that exceed the defined thresholds (instead of all snapshots)
* For Guest_Snapshot check, the snaphot generating a critical should be at the beginning of the service output
* Allow the Datastore_Usage check to work for all datastores instead of specifically needing to define them
* Allow Cluster_DRS_Status to return a warning instead of a critical for things like DPM state?
* CPU ready (and CPU load) of ESXi servers
* vCenter top-level alarms
* Performance data output without units. Instead of '23GHz' output '23'.
* For the Host_Status check see if the name of the problem can be included in the status


* Host_pNIC_Status / Host_pNIC_Usage - Option to to skip pNIC not added to any vSwitch
* Make it possible to split the Guest_Status in different "subchecks" (Tools, GuestIp, etc.)
* New check(s) "Cluster_Datastore_*" .. list all Datastore in a specific cluster, like Datastore_* checks today, but without having to specify datastore names manually
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
johnnyh
Posts: 3
Joined: Tue Jun 06, 2017 11:24 pm

Re: Vmware Hypervisor Memory and swap/Paging Checks

Post by johnnyh »

Thanks for that, so it is not currently available, I am currently trying to configure a Nagios server for an upcoming delivery date for a project, is there an easy way to configure to check the swap for the host, even if it is configured as a seperate check for now, so we can meet the requirement. I can probably play around and find out what check to use however if someone has a recommendation in the mean time to cover off on the missing swap check for the hypervisor, that would be greatly appreciated.

Cheers,

John
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Vmware Hypervisor Memory and swap/Paging Checks

Post by cdienger »

The SNMP wizard could be used to pull swap information -
https://assets.nagios.com/downloads/nag ... g_SNMP.pdf . OIDs can be found at http://www.debianadmin.com/linux-snmp-o ... stics.html .
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked