Azure hosting of Nagios XI server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Azure hosting of Nagios XI server

Post by SteveBeauchemin »

I am being informed that I need to move a Nagios XI server to Azure. To have it hosted there.

I believe Azure has something like a server-less Database available. Can Nagios install use that as a back-end?

I plan to have at least 3 Mod_Gearman workers. I have one there now and will have to add more.

This will grow to become a very large installation within a year.

Do I treat this as if it were a physical server and do all the same performance tuning?

What are my concerns?

What should I be careful of?

Is this just a bad idea? A good idea?

Please advise.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Azure hosting of Nagios XI server

Post by ssax »

The database needs to be MySQL/MariaDB, it will not work with MSSQL, there is no limitations imposed on how it is hosted but it must be MySQL/MariaDB. Based on my cursory research of the serveless option it is geared towards single databases so you would need three (nagios, nagiosql, nagiosxi) and I'm not sure if they offer that for MySQL/MariaDB, you'll need to check with Azure on that. I have no documentation or second-hand knowledge of anyone setting this up with a serverless DB, you may be the first to try it, I do know that we do not test against it so it's up in the air to whether it will even work.

Make sure that you choose the fastest storage you can if this will be a very large system.

When you say very large installation, how many total host/service checks combined do you estimate will be on the XI server? Estimate if you don't know but be realistic, the calculation we use is roughly 10 services per host on average. So just do total number of hosts times 10 for a good starting point.

I have heard Azure can be slow in terms of storage speed but I guess that really depends on what specs/IOPs you have it provisioned with, fast storage is critical on large XI installations.

Make sure to setup a RAMDISK as well:

https://assets.nagios.com/downloads/nag ... giosXI.pdf
Do I treat this as if it were a physical server and do all the same performance tuning?
Yes.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Azure hosting of Nagios XI server

Post by SteveBeauchemin »

Thanks for the information.

Azure does support many DB types including MySQL and MariaDB. I think I'll try just using the normal Nagios install setup initially. If we have performance issues and need to offload the database at a later date I'll revisit that azure possibility.

As far as how large my site is. It is huge, and it works great with 6 mod_gearman to offload the core system.

Looking at the size today, I have 3371 host definitions and 59891 service tests running. This is on my current server. I expect the new setups to grow to a similar size. Actually I will have 2 new servers that will each grow to that size. Our company was bought by a larger company, twice, and we are adding all the new business units servers to our monitoring system. The new business units had no true dedicated monitoring team. All the application owners were just doing their own monitoring. We are taking over that task. We will be very busy getting all this in place.

You can close this if you like.

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Azure hosting of Nagios XI server

Post by ssax »

Sorry, I should have been more clear, I looked for serverless mysql/mariadb and didn't see that listed, I know you can run a standard MySQL/MariaDB server in Azure without issue but I wasn't seeing anything regarding the serverless option that you were referencing.

Ok, thanks for the info. Locking this up.
Locked