I have a problem with the plugin on Cacti NPC.
I installed everything that is necessary and modifications as on tutorials.
But, it shows me that the NPC status is off.
Nagios and Cacti are operational for several weeks and I would bind them together to make my task to provide an improvement in my software (Nagios). For the moment, my test is localhost. Here are my configurations :
cacti > Cacti settings > NPC
Remote commands : Checked
Nagios Command File Path : /urs/local/var/rw/nagios.cmd
Nagios URL : http://127.0.0.1/nagios
hosts icons : Checked
service icons : checked
Debug - log everything
/usr/local/nagios/etc/ndo2db.cfg
Code: Select all
lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
#socket_type=unix
#socket_type=tcp
socket_name=/usr/local/nagios/var/ndo.sock
tcp_port=5668
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=cacti
db_prefix=npc_
db_user=cactiuser
[b]
/usr/local/nagios/etc/nagios.cfg[/b]
[code]log_file=/usr/local/nagios/var/nagios.log
nagios_user=nagios
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
event_broker_options=-1
broker_module=broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/loc$
broker_module=/usr/local/nagios/bin/ndomod.o arg1 arg2=3 debug=0
P.S :Sorry, for my english...