Page 1 of 2
Nagios Monitoring of Windows VM
Posted: Fri Sep 30, 2016 4:29 pm
by nagiosvick
Hi,
I'm evaluating Nagios for monitoring JVM of VCenter server which is a Windows VM.
I downloaded the Nagios Xi from the link
https://www.nagios.com/downloads/nagios-xi/
This is a 64 bit Windows VM. Used virtual box and vmware workstation to open the 64 bit ova nagiosxi-5.2.9-64. Im getting the same error
Workstation error:
This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.
This host does not support Intel VT-x.
Virtual box error:
Vt-x/AMD V hardware acceleration is not available . 64 bit guest will fail to detect a 64 bit bit cpu and will not be able to boot.
Please advice.
Thanks,
Re: Nagios Monitoring of Windows VM
Posted: Mon Oct 03, 2016 11:57 am
by avandemore
64-bit host OS isn't the only requirement for running for running a 64 bit VM, you also need the VT-x/AMD-V.  Sometimes this is an option in the BIOS however certain CPU's don't have this. Please let us know if this resolves your issue.
Re: Nagios Monitoring of Windows VM
Posted: Mon Oct 03, 2016 12:51 pm
by nagiosvick
Hi Thanks for the reply. I'm actually running a Windows 2012 server and it seems like Nagios is not supported yet.
Is it possible to install Nagios on a Centos/RHEL (virtual box) inside of the Windows Virtual machine I need to monitor?
Re: Nagios Monitoring of Windows VM
Posted: Mon Oct 03, 2016 3:13 pm
by tmcdonald
I think you are misunderstanding some things. You do not need to install Nagios *on* the machine which you wish to monitor. For that, we have various software agents that you install instead, and Nagios polls those. If you want to monitor Windows, there is a Windows Server wizard under the Configure link that will walk you through it.
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 8:59 am
by nagiosvick
Thanks, I was able to get it working to monitor a windows server. Now I'm proceeding to monitor the VCenter application on the windows server by following this.
https://fidanov.net/c0d3/nagios-plugins ... tor/README
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 10:52 am
by nagiosvick
Hi,
Is there a well documented method for monitoring on JVM running on Windows. The link that I sent earlier covers only for Linux JVM.
I see that there is no comprehensive answer in a similar question as mine.
https://support.nagios.com/forum/viewto ... =6&t=32770
Kindly let me know if it is possible and if so , point me in the right direction with some documents on how to proceed. I need to submit a report on this.
Thanks in advance
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 11:22 am
by tmcdonald
The last post in that referenced thread recommend JMX-based monitoring, which should work regardless of whether the application is running on Windows or Linux:
https://exchange.nagios.org/index.php?o ... =check_jmx
Have you tried any of those plugins?
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 12:47 pm
by nagiosvick
Yes, I went through that link and I'm proceeding with that. I'm new to JMX and assume that the Java application (in this case VMWare Vcenter) should have JMX implemented that they can be monitored. Could you please confirm if any Java application can be monitored on Windows using the JMX plugin or are there specific requirements?
Thanks,
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 3:06 pm
by dwhitfield
Hi nagiosvick,
Configuring JMX and vCenter are a little out of our scope, but I think I can help you with the basics.
In the case of VCenter, the default JMX port is 6969. You can find out if it is enabled by opening C:\ProgramData\VMware\vCenterServer\runtime\VMwareSTSService\conf\catalina.properties. Search for the base.jmx.port line and make sure it is set to 6969 install of -1 (unless you've configured a different port).
Once you've saved the file, VMWare gives the following instructions for restarting the VMWare Security Token Service:
1. Click Start, click in the Start Search box.
2. Type services.msc, press ENTER.
3. Select VMware Security Token Service and click Restart.
4. Select Yes on the Restart Other Services prompt.
You can check to make sure it is running by running netstat -apn tcp | findstr 6969 in PowerShell or cmd. From there, you should be able to use the JMX plugins.
If you need further assistance with setting up or configuring JMX, you will need to reach out to your Java admin.
Please let us know if you have any further questions specifically about Nagios.
Re: Nagios Monitoring of Windows VM
Posted: Tue Oct 04, 2016 11:03 pm
by nagiosvick
Thanks for your reply. I have configured the JMX port in catalina.properties and proceeding to monitor.