On 2009-08-21 12:49, Mark Maas wrote:
Hi All, I'm having an issue with the following: I have installed a slave server with which I'm cheking some hosts via SNMP. All is fine, but I cannot view the MRTG graphs and the NMIS data via the slave. I'm seeing: The requested URL /cgi-nmis/nmiscgi.pl was not found on this server.
full link: http://10.120.198.182/cgi-nmis/nmiscgi.pl?file=nmis.conf


MRTG we don't use NMIS:

From http://docs.opsview.org/doku.php?id=opsview3:faq

Note: In a slave cluster, only the first node in the cluster will poll the device.


Our workaround : scp of /usr/local/nagios/var/mrtg/* from first slave to master 2 times a day.

Changed the file (on master):

/usr/local/opsview-web/root/status/network_traffic



Line 14

  [%- IF host.monitored_by.is_master;
    url_base = c.uri_for("/");
  ELSE;
    # TODO: this doesn't take into account clustered nodes
    url_base = "http://"; _ host.monitored_by.host.ip _ "/";
  END;


to
    url_base = c.uri_for("/");

/Urban

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to