Adding Azure PAAS application as a log source

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
SuryanuSanyal
Posts: 22
Joined: Wed Sep 15, 2021 5:43 am

Adding Azure PAAS application as a log source

Post by SuryanuSanyal »

Hi team,

I wanted to know how can we add Azure PAAS application as a log source and pass logs to Nagios Log Server.
Kindly let me know the steps if we can.

Thanks in advance.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Adding Azure PAAS application as a log source

Post by pbroste »

Hello @SuryanuSanyal

Thanks for reaching out, I see that there is a Plugin from the exchange that will work and provides excellent details on how to set it up.

https://exchange.nagios.org/directory/Plugins/Cloud/Windows-Azure-Monitor/details

Thanks,
Perry
SuryanuSanyal
Posts: 22
Joined: Wed Sep 15, 2021 5:43 am

Re: Adding Azure PAAS application as a log source

Post by SuryanuSanyal »

Hi Team,

We have web applications hosted in Azure as PaaS (using app service plan). As per the link shared, it does not cover any details regarding this. PFB the version of the tool

[root@<NewInstanceName> /]# uname -a
Linux <NewInstanceName> 4.18.0-305.12.1.el8_4.x86_64 #1 SMP Mon Jul 26 08:06:24 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

[root@<NewInstanceName> /]# cat /etc/*release
NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation ... e_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.4"
Red Hat Enterprise Linux release 8.4 (Ootpa)
Red Hat Enterprise Linux release 8.4 (Ootpa)

Let me know if it is possible to send logs from those applications to Nagios Log Server. If yes, please share the documentation,
You do not have the required permissions to view the files attached to this post.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Adding Azure PAAS application as a log source

Post by pbroste »

Hello @SuryanuSanyal

Thanks for following up; after further review, I floundered on my previous response. The plugin that I referred to will work with the Nagios XI and not the Nagios Log Server.

There are several options since this is RHE Linux os, utilizing the rsyslog to send log data down to your Nagios Log Server instance. Other options include "streaming log data" from Azure, and it would require retrieving the data (file format) and then converting it to JSON to import into the Nagios Log Server. We have not tested or verified, but it looks like it would be a possible workaround.

Thanks,
Perry
Locked