Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - andy

#1
Big thanks Filipp and Alex!

Everything works now!  8)
#2
Hello again, I still couldn't solve this driver issue myself, any help would be appreciated  :-[
#3
And here is how subagents folder looks like now (just in case)
#4
Installation of netxms-agent-mariadb worked, I have mysql.nsm now

But there is another error stating that mysql.ddr is missing:
Jul 31 19:43:18 nxagentd[240328]: [db.drv             ] Unable to load database driver module "mysql.ddr": /usr/lib64/netxms/dbdrv/mysql.ddr: cannot open shared object file: No such file or directory
Jul 31 19:43:18 nxagentd[240328]:  MYSQL: failed to load database driver
Jul 31 19:43:18 nxagentd[240328]: [subagents          ] Initialization of subagent "MYSQL" (/usr/lib64/netxms/mysql.nsm) failed

This driver is not listed among netxms packages ("dnf search netxms")
Also I searched for a solution among related topics, but couldn't find matching situation, thus asking for help with this one too

Big thanks for your time
#5
For some reason netxms-agent-mysql is not listed among available subagents and it cannot be installed via dnf  :(

[andrew@a02 ~]$ sudo dnf install netxms-agent-mysql
[sudo] password for andrew: 
Last metadata expiration check: 2:46:27 ago on Wed Jul 31 09:17:33 2024.
No match for argument: netxms-agent-mysql

#6
Thanks for your reply, Filipp

So, I can install additional packages with command like this?
dnf install netxms-agent-mysql

Now I have a small following question: is there a comprehensive list of additional packages that can be installed?
Before opening this topic, I tried to find information on how to add a package/module separately after installation of "main" NetXMS agent package, but didn't succeed.

Hope you can share some resources regarding this.

Thanks again and in advance  :)
#7
Any ideas?  :'(
#8
Hello

I am trying to setup monitoring of MySQL database

I added property "SubAgent=mysql.nsm" to NetXMS agent configuration "/etc/nxagentd.conf" as described here:
https://netxms.org/documentation/adminguide/database-monitoring.html#id7

But when I run NetXMS agent service, I get this error in logs:
[subagents          ] Error loading subagent module "mysql.nsm" (/usr/lib64/netxms/mysql.nsm: cannot open shared object file: No such file or directory)

And this file is really missing in "/usr/lib64/netxms" folder (please see attached screenshot)

My OS is AlmaLinux 9.4 and here are commands I executed to install NetXMS agent:
1) dnf config-manager --add-repo https://packages.netxms.org/epel/netxms.repo
2) dnf install netxms-agent -y

How do I solve this issue?

Kind regards,
Andrew