Nagios XI VM NSCA problems
Posted: Mon Apr 27, 2015 4:50 am
We are currently trying to get passive checks working with our NagiosXI downloaded VM appliance. The Nagios box does not seem to be running NSCA, or have it installed.
Trying to connect from a remote machine or localhost we get the same error;
There is no nsca process running on the Nagios box
There is nothing listening the nsca port 5667
This is the xinetd config
We've tried installing nsca, but we get deps errors.
What should our next steps be?
Trying to connect from a remote machine or localhost we get the same error;
Code: Select all
~$ echo "Testing 123" | /usr/sbin/send_nsca -H nagios.domainname -c /etc/send_nsca.cfg
Connection refused or timed out
Error: Could not connect to host nagios.domainname on port 5667
Code: Select all
~]# ps aux | grep nsca
root 9156 0.0 0.0 103244 872 pts/1 R+ 17:33 0:00 grep nsca
This is the xinetd config
Code: Select all
service nsca
{
flags = REUSE
socket_type = stream
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nsca
server_args = -c /usr/local/nagios/etc/nsca.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1,192.168.3.1/24
}
Code: Select all
~]# yum install nagios-nsca
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.sov.uk.goscomb.net
* epel: mirrors.coreix.net
* extras: mirror.sov.uk.goscomb.net
* rpmforge: www.mirrorservice.org
* updates: mirrors.coreix.net
Resolving Dependencies
--> Running transaction check
---> Package nagios-nsca.x86_64 0:2.7.2-4.el6.rf will be installed
--> Processing Dependency: nagios-nsca-client for package: nagios-nsca-2.7.2-4.el6.rf.x86_64
--> Running transaction check
---> Package nagios-nsca-client.x86_64 0:2.7.2-4.el6.rf will be installed
--> Processing Conflict: nagiosxi-deps-2014r1.2-1.noarch conflicts nagios-nsca
--> Processing Conflict: nagiosxi-deps-2014r1.2-1.noarch conflicts nsca
--> Finished Dependency Resolution
Error: nagiosxi-deps conflicts with nagios-nsca-2.7.2-4.el6.rf.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest