[Xymon] xymon graphs are not visible

Mike Burger Mike.Burger at FreedomMortgage.com
Mon Dec 17 17:17:01 CET 2012


How did you install Xymon (RPM on a Red Hat based system or from
tarball)?

 

If from tarball, did you create a symlink in /etc/httpd/conf.d (or, if
Ubuntu, /etc/apache2/conf.d), per the instructions, or did you, instead,
simply put Xymon in /var/www/html/xymon?

 

Apache looks at its own config file and, via include statement in that
config file, at the files in the conf.d directory. That file/symlink
causes Apache to read that config, which then tells it that /xymon is in
directory X and that /xymon-cgi is in directory Y. If Apache does not
source that configuration file, it will not know where the appropriate
scripts are supposed to be located and will throw up the not found
errors you're seeing.

 

--

Mike Burger

AIX Administrator

  <http://freedomhome.fhmc.local/intranet/main.jsp> 

Phone (317) 537-3680, Fax (317) 537-4680, Cell (317) 797-2040 

E-mail:  Mike.Burger at FreedomMortgage.com
<mailto:Anthony.House at freedommortgage.com> 

"Once word leaks out that a pirate's gone soft, people begin to disobey
you and then it's nothing but work, work, work, all the time."
--Westley/The Dread Pirate Roberts

 

From: Ashwin Agarwal [mailto:ashwingrwl at gmail.com] 
Sent: Monday, December 17, 2012 11:04 AM
To: Mike Burger
Cc: xymon at xymon.com
Subject: Re: [Xymon] xymon graphs are not visible

 

Hi Mike,

 

Our xymon-apache.conf is in /home/xymon/server/etc directory. It looks
like below

 

# This file is for Apache 1.3.x and Apache 2.0.x
#
# Add this to your Apache configuration, it makes
# the Xymon webpages and cgi-scripts available in the
# "/xymon" and "/xymon-cgi" URLs.


# NB: The "Alias" line below must NOT be used if you have
#     the Xymon webfiles as the root URL. In that case,
#     you should instead set this:
#
#          DocumentRoot /home/xymon/server/www

Alias /xymon/  "/home/xymon/server/www/"
<Directory "/home/xymon/server/www">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/"
<Directory "/home/xymon/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/"
<Directory "/home/xymon/cgi-secure">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all

    # Password file where users with access to these scripts are kept.
    # Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswd
USERNAME"
    # Add more users / change passwords with "htpasswd
/home/xymon/server/etc/xymonpasswd USERNAME"
    #
    # You can also use a group file to restrict admin access to members
of a
    # group, instead of anyone who is logged in. In that case you must
setup
    # the "xymongroups" file, and change the "Require" settings to
require
    # a specific group membership. See the Apache docs for more details.

    AuthUserFile /home/xymon/server/etc/xymonpasswd
    AuthGroupFile /home/xymon/server/etc/xymongroups
    AuthType Basic
    AuthName "Xymon Administration"

    # "valid-user" restricts access to anyone who is logged in.
    Require valid-user

    # "group admins" restricts access to users who have logged in, AND
    # are members of the "admins" group in xymongroups.
    # Require group admins

</Directory>

# Rewrite-rules for migrating from the URL's used in Hobbit
RewriteEngine On

RewriteRule ^/xymon/bb.html /xymon/xymon.html [R=permanent,L]
RewriteRule ^/xymon/bb2.html /xymon/nongreen.html [R=permanent,L]
RewriteRule ^/xymon/bbnk.html /xymon/critical.html [R=permanent,L]

RewriteRule ^/xymon-cgi/bb-hist.sh /xymon-cgi/history.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/bb-eventlog.sh /xymon-cgi/eventlog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-rep.sh /xymon-cgi/report.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/bb-replog.sh /xymon-cgi/reportlog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-snapshot.sh /xymon-cgi/snapshot.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-findhost.sh /xymon-cgi/findhost.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-csvinfo.sh /xymon-cgi/csvinfo.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbitcolumn.sh /xymon-cgi/columndoc.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-datepage.sh /xymon-cgi/datepage.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbitgraph.sh /xymon-cgi/showgraph.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-hostsvc.sh /xymon-cgi/svcstatus.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/bb-histlog.sh /xymon-cgi/historylog.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-confreport.sh /xymon-cgi/confreport.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-confreport-critical.sh
/xymon-cgi/confreport-critical.sh [R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-nkview.sh /xymon-cgi/criticalview.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-certreport.sh /xymon-cgi/certreport.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-nongreen.sh /xymon-cgi/nongreen.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-hostgraphs.sh /xymon-cgi/hostgraphs.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-ghosts.sh /xymon-cgi/ghostlist.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-notifylog.sh /xymon-cgi/notifications.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-hostlist.sh /xymon-cgi/hostlist.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-perfdata.sh /xymon-cgi/perfdata.sh
[R=permanent,L]
RewriteRule ^/xymon-cgi/hobbit-topchanges.sh /xymon-cgi/topchanges.sh
[R=permanent,L]

RewriteRule ^/xymon-seccgi/bb-ack.sh /xymon-seccgi/acknowledge.sh
[R=permanent,L]
RewriteRule ^/xymon-seccgi/hobbit-enadis.sh /xymon-seccgi/enadis.sh
[R=permanent,L]
RewriteRule ^/xymon-seccgi/hobbit-nkedit.sh
/xymon-seccgi/criticaleditor.sh [R=permanent,L]
RewriteRule ^/xymon-seccgi/hobbit-ackinfo.sh /xymon-seccgi/ackinfo.sh
[R=permanent,L]
RewriteRule ^/xymon-seccgi/hobbit-useradm.sh /xymon-seccgi/useradm.sh
[R=permanent,L]

 

Thanks for your help.

 

Ashwin.

 

 

 

 

 

 

 

On Mon, Dec 17, 2012 at 9:52 AM, Mike Burger <
Mike.Burger at freedommortgage.com> wrote:

	What does your /etc/httpd/conf.d/xymon.conf (or
xymon-apache.conf) look like?

	 

	--

	Mike Burger

	AIX Administrator

	<http://freedomhome.fhmc.local/intranet/main.jsp> 

	Phone (317) 537-3680, Fax (317) 537-4680, Cell (317) 797-2040
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	E-mail:  Mike.Burger at FreedomMortgage.com
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	"Once word leaks out that a pirate's gone soft, people begin to
disobey you and then it's nothing but work, work, work, all the time."
--Westley/The Dread Pirate Roberts
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of Ashwin Agarwal
	Sent: Monday, December 17, 2012 10:50 AM
	To: xymon at xymon.com
	Subject: Re: [Xymon] xymon graphs are not visible
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	I also would like to mention that our xymon server is on Linux
box and xymon client agents are W2K8 server.
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Please let me know if you need any more information.
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Thank you, <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Ashwin. <http://freedomhome.fhmc.local/intranet/main.jsp> 

	
	
	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	On Mon, Dec 17, 2012 at 9:45 AM, Ashwin Agarwal
<ashwingrwl at gmail.com> wrote:
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	Also  i am seeing below message when i click on graphs.
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	The requested URL /xymon-cgi/showgraph.sh was not found on this
server. <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Thank you,
	Ashwin. <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	
	
	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	On Mon, Dec 17, 2012 at 9:41 AM, Ashwin Agarwal
<ashwingrwl at gmail.com> wrote:
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	Hi, <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Xymon graphs are not visible.  Please check the attachment. Can
some body please advise on this.
<http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Thank you, <http://freedomhome.fhmc.local/intranet/main.jsp> 

	Ashwin. <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	  <http://freedomhome.fhmc.local/intranet/main.jsp> 

	CONFIDENTIALITY NOTICE: This e-mail message, including all
attachments, is for <http://freedomhome.fhmc.local/intranet/main.jsp> 
	the sole use of the intended recipient(s) and may contain
confidential <http://freedomhome.fhmc.local/intranet/main.jsp> 
	information. Any unauthorized review, use, disclosure,
alteration or <http://freedomhome.fhmc.local/intranet/main.jsp> 
	distribution is strictly prohibited and may violate state or
federal law. If you <http://freedomhome.fhmc.local/intranet/main.jsp> 
	are not the intended recipient, please contact the sender by
reply e-mail, <http://freedomhome.fhmc.local/intranet/main.jsp> 
	delete this email and destroy all copies of the message.
<http://freedomhome.fhmc.local/intranet/main.jsp> 

  <http://freedomhome.fhmc.local/intranet/main.jsp> 




CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal law. If you
are not the intended recipient, please contact the sender by reply e-mail,
delete this email and destroy all copies of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121217/376a21d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3153 bytes
Desc: image001.gif
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121217/376a21d8/attachment.gif>


More information about the Xymon mailing list