<div>Ah... must be the permissions in /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf</div><div> </div><div>-Tomi<br><br></div><div class="gmail_quote">On 22 August 2012 16:30, Tomi Salmi <span dir="ltr"><<a href="mailto:tomisalmi123@gmail.com" target="_blank">tomisalmi123@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>Hi,</div><div> </div><div>I had in</div><div> </div><div>
/etc/hosts</div><div>127.0.0.1  hostname</div><div> </div><div>then changed the entry pointing to the actual server ip</div><div> </div><div>X.X.X.X  hostname</div>
<div> </div><div>After this the monitoring scout is giving me a permission error. After running /etc/init.d/MonitoringScout restart</div><div> </div><div>/var/log/nocpulse/execute_commands.log shows:</div><div><span lang="EN"><p>

2012-08-22 16:14:59 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat</p><p>2012-08-22 16:14:59 104:       Attempting to fetch commands (attempt 0)</p>
<p>2012-08-22 16:14:59 95:        Queue server URL:  <a href="https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0" target="_blank">https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0</a></p>


<p>2012-08-22 16:14:59 95:        Failed to get command list: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 106:       fetch_commands failed: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 104:       Attempting to fetch commands (attempt 1)</p>
<p>2012-08-22 16:14:59 95:        Queue server URL:  <a href="https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0" target="_blank">https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0</a></p>


<p>2012-08-22 16:14:59 95:        Failed to get command list: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 106:       fetch_commands failed: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 104:       Attempting to fetch commands (attempt 2)</p>
<p>2012-08-22 16:14:59 95:        Queue server URL:  <a href="https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0" target="_blank">https://hostname/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=&node_id=&role=lead&version=1.0</a></p>


<p>2012-08-22 16:14:59 95:        Failed to get command list: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 106:       fetch_commands failed: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 115: Unable to fetch commands in 3 tries: HTTP error:  403 Forbidden</p>
<p>2012-08-22 16:14:59 95: Freshening heartbeat file /var/lib/nocpulse/commands/heartbeat</p>
<p>2012-08-22 16:14:59 176: No commands executed, sleeping 60 seconds</p></span></div><div> </div><div>Any ideas? Thanks in advance.</div><span class="HOEnZb"><font color="#888888"><div> </div><div>-Tomi</div>
</font></span></blockquote></div><br>