El Tue, 31 Mar 2009 07:51:05 -0500
Marc Powell <m...@ena.com> escribió:
> broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/
> nagios/etc/ndomod.cfg
Hi,
Thanks, It's now solved, I passed the argument to the module and the communication was stablished. I found other problems which I solved too. Maybe this can help someone in the future:
My machine is running two mysql servers. By default mysql creates a unix socket at /tmp/mysql.socket, so I had to configure my second mysql server (the one nagios will use) to write a socket in /tmp/mysql_server1.socket
The problem is that if you configure ndo2db to connect to localhost, it doesn't use a tcp connection, it uses a socket, and the socket it uses is /tmp/mysql.socket. I had to configure the db_host to the name of the machine to modify this behavior.
best regards.
------------------------------------------------------------------------------
_______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null