Do you have Linux SE or AppArmor that might block access for nsca?
Otherwise, I'm pretty much out of ideas :-(
Joan Tugores wrote:
> Manually feed works!! but stop&start nagios not solves the problem.
>
> Kevin Keane escribió:
>> Yes, this looks good. Besides, I only just noticed that you did the
Yes, this looks good. Besides, I only just noticed that you did the ls
-lah * as user nagios, so we now have double confirmation that this
works. Another question: what happens when you manually feed a command
into nagios.cmd?
echo "xxx" >>/usr/local/nagios/var/rw/nagios.cmd
It should basicall
How about
ls -lahd /usr/local/nagios/var/rw /usr/local/nagios/var
/usr/local/nagios /usr/local /usr
They should all at a minimum have X permission for either the nagios
user or the group or for world.
?
Joan Tugores wrote:
> [nag...@dcserverbd2 rw]$ ls -lah *
> prw-rw 1 nagios nagiosgrb
Does the nsca user or group have access to every single directory along
the path? Easy way to try:
su - nagios
cd /usr/local/nagios/var/rw
ls -lah *
Note: the above won't work if user nagios has /bin/false as a shell. In
that case, try
su -s /bin/bash - nagios
It should list nagios.cmd (and pr
] NSCA - Command file does not exist
Hi all,
When I send a packet to ncsa server this not processed.
In /var/log/messages:
Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to
use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output
B
Does nsca run in a chroot jail? I'm not sure if it can do that.
If that's the case, nsca may think that /usr/local/nagios is really the
root of the file system, and anything above that directory is
essentially hidden. In that case, you'd have to change the nsca.cfg
configuration to use /var/rw/
Hi all,
When I send a packet to ncsa server this not processed.
In /var/log/messages:
Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to
use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output
But nagios.cmd exists and the permissions are good.
prw-