You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
False positive detections of !include loops in omi-preexec #7
I have a default installation of CentOS 7 with MariaDB, with default, unchanged configuration files.
I have deployed a most recent version of SCX (scx-1.6.2-339.x86_64 along with mysql-cimprov-1.0.1-5.x86_64) that is available as default deployment option via SCOM 2016 UR4.
Problem
The omi-preexec returns a following error in /var/opt/microsoft/mysql-cimprov/log/mysqllog.log:
[mysql.omi-preexec:95:4661:139821470123840] Error reading configuration file: /etc/my.cnf is used in !include more than once.
There are no traceable loops in includes, in fact, there is only a default !includedir /etc/my.cnf.d in the /etc/my.cnf, with no custom config in the included files. All files have been attached as reference: cnf.zip
Surprisingly, commenting out the default !includedir prevents error from triggering (but is not a valid workaround for production).
It's either something wrong with loop detection algorithm or something in the algorithm that I did not take into account. I'll be happy to provide you other files if needed.
is possible monitoring mariadb with scom? for mysql is very easy but when I was trying with mariadb it didnt work.
I got the same error when I was checking the log [mysql.omi-preexec:95:5204:140355860993856] Error reading configuration file: /etc/my.cnf is used in !include more than once.
Activity
iyochai commentedon Jan 11, 2018
I am also experiencing this issue.
PhilAitman commentedon Mar 9, 2018
Same issue here using 1801 build of SCOM and the OMSAgent 1.4.1-45
msacharewicz commentedon Nov 23, 2018
Does anybody read this?
Joseluismaxp1 commentedon Mar 28, 2019
Hi msacharewicz,
is possible monitoring mariadb with scom? for mysql is very easy but when I was trying with mariadb it didnt work.
I got the same error when I was checking the log [mysql.omi-preexec:95:5204:140355860993856] Error reading configuration file: /etc/my.cnf is used in !include more than once.
msacharewicz commentedon Mar 28, 2019
Joseluismaxp1: Well, per documentation, "Supports MariaDB Server version 5.5, and 10.0"...
https://www.microsoft.com/en-us/download/details.aspx?id=46924
Joseluismaxp1 commentedon Mar 28, 2019
Thanks for your answer, so according to the documentation MariaDB 5.5 and 10.0 is supported, no include Mariadb 5.5.63????
msacharewicz commentedon Mar 28, 2019
I'd assume it means 5.5.*
Joseluismaxp1 commentedon Mar 28, 2019
Ok I understand, sorry to disturb you, so one question more. have you got an environment with SCOM monitoring any Mariadb version?