Page 1 of 1

VMWare storage monitoring

Posted: Thu May 29, 2025 8:55 am
by kbauma01
Is it possible to monitor all of my VMware Storage Luns? I have a Red Hat server that occasionally fills up the LUN with a backup (using Avamar) and I need to catch it before it crashes the server. I can monitor the server fine but I don't know how to monitor the LUNs.

Is there a way to do this?

Thanks

Re: VMWare storage monitoring

Posted: Thu May 29, 2025 11:25 pm
by kg2857

Re: VMWare storage monitoring

Posted: Mon Jun 02, 2025 10:07 am
by kbauma01
Thanks kg2857.

I don't need to monitor Avamar, I need to monitor the LUNs for VWmware. The Avamar backups are fine, rarely do they fill the LUN but when it does, the system crashes.

I need to get warnings when any LUN is at 80% and 90%.

Re: VMWare storage monitoring

Posted: Mon Jun 02, 2025 10:38 am
by kbauma01
Using the Config Wizard for vsphere, I get to the 2nd step Monitor Metrics, and I choose the Datastores tab.

All I see there is Datastores Selection
Specify which datastores you'd like to monitor on the VMware host (server).

Datastores
CRITICAL: Could not connect to the specified vCenter server.

Re: VMWare storage monitoring

Posted: Wed Jun 04, 2025 11:10 am
by bbahn
@kbauma01, please verify that your username and password are correct. The current version of the plugin doesn't give very helpful feedback and the current version of the wizard doesn't stop you from progressing properly if your credentials are invalid. I've improved the plugin's error messages for Nagios XI 2024R1.4.4, which will cause the actual issue to be returned instead of a generic connection error message and will try to get an update to the wizard to verify the username/password before going to step 2.

Re: VMWare storage monitoring

Posted: Wed Jun 04, 2025 12:37 pm
by kbauma01
Thanks, I'll check that again and report back.

Re: VMWare storage monitoring

Posted: Mon Jun 09, 2025 10:10 am
by kbauma01
When I run it via the command line, it works.

/usr/local/nagios/libexec/check_vsphere_xi.py -H <hostname> -u <user> -p <password> - nagios -L -v

2495859.39 MB 8795824.59 MB (28.38%)
1234233.72 MB 8795824.59 MB (14.03%)
1127666.94 MB 8795824.59 MB (12.82%)

But using the wizard in the GUI, I get an error.

Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.