Page 1 of 1

Azure portal/services monitoring

Posted: Sun Feb 28, 2021 11:32 pm
by kalyanpabolu
Hello Team,

We have our servers in Azure and we do have Azure portal where we check the health status of those servers.
We wanted to monitor the Azure portal/services/health status from Nagios. Is that possible to monitor in Nagios XI? Please let us know if there is any plugin or any integration that can be used to achieve this.

Let me know if you need any information from my end.

Looking forward for your support.

Thanks in advance!!

Re: Azure portal/services monitoring

Posted: Mon Mar 01, 2021 6:12 pm
by benjaminsmith
Hi @kalyanpabolu,

There's a configuration wizard for monitoring VM's in Azure using NCPA. Just go to Configure > Start Monitoring Now and search for Azure to run the wizard.

For monitoring other aspects of Azure, there are a few community plugins available on the Nagios Exchange.

https://exchange.nagios.org/index.php?o ... word=Azure

How to setup a community plugin.

Third-Party Plugins in Nagios XI

--Benjamin

Re: Azure portal/services monitoring

Posted: Mon Mar 01, 2021 11:39 pm
by kalyanpabolu
Hello,

Thanks for your reply!!
We will check the options and get back to you.

Re: Azure portal/services monitoring

Posted: Tue Mar 02, 2021 10:04 am
by benjaminsmith
Hi,
We will check the options and get back to you.
Sounds good. We'll keep this thread open.

Re: Azure portal/services monitoring

Posted: Sun Mar 07, 2021 12:04 am
by kalyanpabolu
Hello,

There seems to be some confusion here. I checked the Wizard and it is for monitoring VMs in Azure. We do not want to monitor the VMs. We want to monitor the Azure portal.

In other words, we want to monitor the services of Azure portal, health of Azure portal.
Let me know if you need any information for the same.

Re: Azure portal/services monitoring

Posted: Mon Mar 08, 2021 3:26 pm
by benjaminsmith
Hi @kalyanpabolu,

That's correct the configuration wizard is for monitoring VM's in Azure, it's not for monitoring Azure itself. To do this, there are some community plugins available on the Nagios Exchange at:

https://exchange.nagios.org/index.php?o ... word=Azure

For information on how to setup a community plugin, the following guide is helpful.

Third-Party Plugins in Nagios XI

Let me know if one of those plugins would work for you.

Benjamin

Re: Azure portal/services monitoring

Posted: Mon Mar 15, 2021 9:23 am
by kalyanpabolu
Hello,

I could just find some reviews about check_azservicehealth.ps1 plugin but it needs powershell.
Can you suggest plugin from your end which should be good to monitor the Azure portal?

Thanks in advance!!

Re: Azure portal/services monitoring

Posted: Tue Mar 16, 2021 3:10 pm
by benjaminsmith
Hi @kalyanpabolu,

What operating system are currently running on Nagios XI. I think the best option here is the PowerShell plugin. Next to that, the following python plugin is another option but it depends on some older python packages that may not work your system.

Links:
https://exchange.nagios.org/directory/P ... ts/details
https://github.com/MicrosoftDocs/azure- ... monitor.md

--Benjamin

Re: Azure portal/services monitoring

Posted: Tue Mar 23, 2021 11:18 am
by kalyanpabolu
Hello,

We have installed powershell and tried running this plugin, but getting below error. Could you please help me to check the same.


[root@HO1-NAGIOSXI libexec]# ./check_azservicehealth.ps1 -h
check_azservicehealth.ps1: Missing an argument for parameter 'TenantDomain'. Specify a parameter of type 'System.String' and try again.
[root@HO1-NAGIOSXI libexec]#
[root@HO1-NAGIOSXI libexec]#

Re: Azure portal/services monitoring

Posted: Wed Mar 24, 2021 12:31 pm
by benjaminsmith
Hi,

This particular plugin does not have that flag as a help option. It requires the following parameters.
TenantGUID ClientID ClientSecret TenantDomain
Try running it with those 4 arguments and let me know if you get results back.