Monitor Azure VM scaleset

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
riccardopomato
Posts: 2
Joined: Fri Aug 11, 2017 1:35 am

Monitor Azure VM scaleset

Post by riccardopomato »

Hi guys,

Do someone of you how to monitor Azure VMSS with nagios?
How to manage when new VMs are created or deleted automatically?
The names of vm can changes frequently.
Does Nagios has a solution that fits with VMSS?
Thanks
Riccardo
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Monitor Azure VM scaleset

Post by cdienger »

Hi riccardopomato,

Looks like the Nagios Log Server boards may be the wrong place for this thread. Are you working with Nagios core or Nagios XI?

A couple of Azure plugins exist at https://exchange.nagios.org/index.php?o ... word=azure which may help with what you're trying to achieve, but I don't have an Azure environment to test with to confirm.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
riccardopomato
Posts: 2
Joined: Fri Aug 11, 2017 1:35 am

Re: Monitor Azure VM scaleset

Post by riccardopomato »

Thanks for your reply.
I'm helping a customer to move his frontend Azure vms to Azure vm scale-set.
At moment I need just understand if It's possible still using Nagios and not a different solution.
I would like to understand if Nagios can manage dynamic "born and death" of vms that is typical behavior of azure vm scaleset.

Thanks in advance.
Riccardo
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor Azure VM scaleset

Post by scottwilkerson »

You would likely want to use the API as part of the provisioning process when creating items.

This would be similar no matter which platform you use

https://assets.nagios.com/downloads/nag ... gement.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Monitor Azure VM scaleset

Post by tacolover101 »

riccardopomato wrote:Thanks for your reply.
I'm helping a customer to move his frontend Azure vms to Azure vm scale-set.
At moment I need just understand if It's possible still using Nagios and not a different solution.
I would like to understand if Nagios can manage dynamic "born and death" of vms that is typical behavior of azure vm scaleset.

Thanks in advance.
Riccardo
scottwilkerson wrote:You would likely want to use the API as part of the provisioning process when creating items.

This would be similar no matter which platform you use

https://assets.nagios.com/downloads/nag ... gement.pdf
to add a real world use case to this, you could use Nagios log server for this. here's how:
- poll the azure API for metrics every x interval
- parse out those metric variables into their own identifiable fields
- when x metric is reached, have nagios log server reach out to the API to provision a new VM for your cluster. apply same concept to remove cluster node.
- you will need to build middleware to spin up / down and maintain an array of your current vm / variables, but that's the fun part :)
- sit back and eat popcorn
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor Azure VM scaleset

Post by scottwilkerson »

tacolover101 wrote:to add a real world use case to this, you could use Nagios log server for this. here's how:
- poll the azure API for metrics every x interval
- parse out those metric variables into their own identifiable fields
- when x metric is reached, have nagios log server reach out to the API to provision a new VM for your cluster. apply same concept to remove cluster node.
- you will need to build middleware to spin up / down and maintain an array of your current vm / variables, but that's the fun part :)
- sit back and eat popcorn
Nice example! Thanks!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked