<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think that not using chroot jail, this is my nsca.cfg:<br>
<br>
pid_file=/var/run/nsca.pid<br>
server_port=5667<br>
#server_address=192.168.1.1<br>
nsca_user=nagios<br>
nsca_group=nagiosgrb<br>
#nsca_chroot=/usr/local/nagios/var/rw/<br>
debug=1<br>
command_file=/usr/local/nagios/var/rw/nagios.cmd<br>
alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump<br>
aggregate_writes=0<br>
append_to_file=0<br>
max_packet_age=30<br>
#password=<br>
decryption_method=1<br>
<br>
Kevin Keane escribió:
<blockquote cite="mid:4A04037E.1090507@kkeane.com" type="cite">
  <pre wrap="">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/nagios.cmd (or strip out whatever the root 
of the chroot jail is).

Joan Tugores wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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-rw---- 1 nagios nagiosgrb    0 may  5 09:59 nagios.cmd

Regards,
Joan


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/kodak-com">http://p.sf.net/sfu/kodak-com</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.06080809.03080605@dome-consulting.com" border="0"></div>
</body>
</html>