<!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">
Yes , to be in the same environment than check_by_ssh, I've made the
test with the nagios user<br>
<br>
Marc Powell a écrit :
<blockquote cite="mid:C42C2290-6F62-421B-B235-9AE7DBAF68D4@ena.com"
 type="cite">
  <pre wrap="">On Jun 16, 2008, at 10:53 AM, Luc MAIGNAN wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">HI,

I use the check_bacula plugin to test the status of bacula backups. I
use it via check_by_ssh plugin to connect to bacula server, but it
doesn't seem to return good values.


On the bacula server :
check_bacula -F bacula.log      returns : OK - Backups: 7 Backups
completed successfull
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Are you running this test as the nagios user on that machine? I don't  
know which of the check_bacula scripts you are running but it seems  
likely to be either a permissions issue or an environment issue.

--
Marc


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</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>
<br>
</body>
</html>