-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
How did you install Xymon?
On 12/17/2012 05:23 PM, Ashwin Agarwal wrote:
Actually i checked that /xymon-cgi directory. Found that "showgraph.sh " is missing there. Can anybody please give me what is mentioned in that script. I will copy it and see if it works.
Thank you, Ashwin.
On Mon, Dec 17, 2012 at 10:17 AM, Mike Burger <Mike.Burger at freedommortgage.com <mailto:Mike.Burger at freedommortgage.com>> wrote:
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____*
*cid:image001.gif at 01CC72C8.834C1990* <http://freedomhome.fhmc.local/intranet/main.jsp>____
*Phone (317) 537-3680 <tel:%28317%29%20537-3680>**, **Fax****(317) 537-4680 <tel:%28317%29%20537-4680>, Cell (317) 797-2040 <tel:%28317%29%20797-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 <mailto:ashwingrwl at gmail.com>] *Sent:* Monday, December 17, 2012 11:04 AM *To:* Mike Burger *Cc:* xymon at xymon.com <mailto: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 <mailto: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.
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDPm/MACgkQmb+gadEcsb7nTwCfUUxx5gCuV5ErtbU6J+1JrhvK A4oAn1LTDJGwYf2F2tc2PtymKHHObei4 =PBez -----END PGP SIGNATURE-----