<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 11/10/14 17:52, Steve Read wrote:<br>
</div>
<blockquote cite="mid:SNT148-W95CC1F4E572E05190C670395800@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Stan, thank you for your help.
<div><br>
</div>
<div>My ups.conf file is:</div>
<div>
<div> [sdrups]</div>
<div> driver = genericups</div>
<div> port = /dev/ttyS1</div>
<div> desc = "For Server & Backup"</div>
<div> upstype=9</div>
<br>
</div>
</div>
</blockquote>
<br>
Assuming upsmon is the user and autocadba2 is the password in
upsd.users, the monitor line should be <br>
<br>
MONITOR <a class="moz-txt-link-abbreviated" href="mailto:sdrups@192.168.0.7">sdrups@192.168.0.7</a> upsmon autocadba2 slave<br>
<br>
<br>
Stan<br>
<br>
<br>
<blockquote cite="mid:SNT148-W95CC1F4E572E05190C670395800@phx.gbl"
type="cite">
<div dir="ltr">
<div>
<div>
<hr id="stopSpelling">Date: Mon, 10 Nov 2014 17:03:46 -0600<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:sg063015@gmail.com">sg063015@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:nut-upsuser@lists.alioth.debian.org">nut-upsuser@lists.alioth.debian.org</a><br>
Subject: Re: [Nut-upsuser] Master Works, Slave Does Not<br>
<br>
<br>
<div class="ecxmoz-cite-prefix">On 11/10/14 16:54, Steve
Read wrote:<br>
</div>
<blockquote
cite="mid:SNT148-W60E2FA85C760B8EC0CEB1095800@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">
<div>On the slave which is 192.168.0.6 in
/var/log/daemon.log I see entries of:</div>
<div><br>
</div>
<div>Nov 10 17:43:03 server2 upsmon[2120]: Poll UPS [<a
moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:root@192.168.0.7">root@192.168.0.7</a>]
failed - [root] does not exist on server 192.168.0.7</div>
<div><br>
</div>
<div>In upsmon.conf I have one entry:</div>
<div><br>
</div>
<div>MONITOR <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:root@192.168.0.7">root@192.168.0.7</a>
1 sdrups autocadba2 slave</div>
<div><br>
</div>
<div>(Yes, I realize I displayed my password some time
ago)</div>
<div><br>
</div>
<div>So I think it is saying that root does not exist on
server which is confusing as on the server 192.168.0.7
I have.</div>
<div><br>
</div>
<div>In upsd.users I have</div>
<div><br>
</div>
<div>
<div> [root]</div>
<div><span class="ecxApple-tab-span"
style="white-space:pre;"> </span>password =
autocadba2</div>
<div><span class="ecxApple-tab-span"
style="white-space:pre;"> </span>upsmon master</div>
<div><span class="ecxApple-tab-span"
style="white-space:pre;"> </span>instcmds = ALL</div>
</div>
<div><br>
</div>
<div>So why is it saying root does not exist on server?</div>
<div><br>
</div>
<div><br>
</div>
<br>
</div>
</blockquote>
<br>
The root in the "MONITOR <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:root@192.168.0.7">root@192.168.0.7</a> srdups
autocadba2 slave" line is the name of the UPS define in
ups.conf. What does your ups.conf look like?<br>
<br>
<br>
Stan<br>
<br>
<br>
_______________________________________________
Nut-upsuser mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a></div>
</div>
</div>
</blockquote>
<br>
</body>
</html>