I'm trying to setup a new Xymon server. This is only my second time doing this and the last time was years ago, so I'm probably missing something obvious.
I have the big grid of status messages running on /xymon.html now. However, if I click on one of the icons the browser will download a file instead of displaying detailed status info. As an example, I clicked on /xymon-cgi/svcstatus.sh?HOST=<hostname>&SERVICE=ldap and it just downloaded a file named svcstatus.sh.
I'm betting I missed a setting in my Apache 2.4 configuration. Can anyone offer suggestions?
-- Jaime Kikpole Network Administrator Cairo-Durham Central School District
Technical Support: help at cairodurham.org go.cairodurham.org/techtips
-- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system.
Sorry, but this wasn't a xymon issue after all. For Apache, my httpd.conf had the mod_cgi line commented out. I have no idea why, but once I uncommented it and restarted Apache this issue no longer existed.
Thanks for your patience. Hopefully my experience will save someone else from banging their head against a wall.
-- Jaime Kikpole Network Administrator Cairo-Durham Central School District
Technical Support: help at cairodurham.org go.cairodurham.org/techtips
-- This electronic message and any attachment(s) may contain confidential or legally privileged information protected by law from further disclosure and is intended only for the individual or entity identified above as the addressee. If you are not the addressee (or the employee or agency responsible to deliver it to the addressee), or if this message has been addressed to you in error, you are hereby notified that you may not copy, forward, disclose or use any part of this message or any attachment(s). Please notify the sender immediately by return email or telephone and permanently delete this message and attachment(s) from your system.
On Wed, March 4, 2015 10:41 am, Jaime Kikpole wrote:
Sorry, but this wasn't a xymon issue after all. For Apache, my httpd.conf had the mod_cgi line commented out. I have no idea why, but once I uncommented it and restarted Apache this issue no longer existed.
Thanks for your patience. Hopefully my experience will save someone else from banging their head against a wall.
-- Jaime Kikpole Network Administrator Cairo-Durham Central School District
Technical Support: help at cairodurham.org go.cairodurham.org/techtips
--
Jaime,
No problem, that's what we're here for. This was actually a fairly common issue a while back, as the equivalent of "AddHandler cgi-script .sh" sometimes needed to be added, depending on how the distro configured apache by default and where people put things.
The opposite problem occasionally happened too where the HTML man pages for .cgi's would attempt to be executed instead of sent.
Regards,
-jc
participants (2)
-
cleaver@terabithia.org
-
jkikpole@cairodurham.org