VMWare storage monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

VMWare storage monitoring

Post 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
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: VMWare storage monitoring

Post by kg2857 »

kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: VMWare storage monitoring

Post 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%.
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: VMWare storage monitoring

Post 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.
You do not have the required permissions to view the files attached to this post.
bbahn
Posts: 380
Joined: Thu Jan 12, 2023 5:42 pm

Re: VMWare storage monitoring

Post 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.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: VMWare storage monitoring

Post by kbauma01 »

Thanks, I'll check that again and report back.
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: VMWare storage monitoring

Post 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.
Post Reply