Page 1 of 1

Adding Azure PAAS application as a log source

Posted: Tue Sep 28, 2021 5:07 am
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.

Re: Adding Azure PAAS application as a log source

Posted: Tue Sep 28, 2021 2:17 pm
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

Re: Adding Azure PAAS application as a log source

Posted: Thu Sep 30, 2021 2:25 am
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,

Re: Adding Azure PAAS application as a log source

Posted: Fri Oct 01, 2021 10:13 am
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