svcstatus.sh

Ales Krek aleskrek at yahoo.com
Fri Mar 27 09:12:35 CET 2015


Hi me again. I was thinking that i fix it but i didn't. Today i try ed to open the detailed info on some monitored device and its the same problem like yesterday, the browser gives me only the download option of the svcstatus.sh. From yesterday when it worked i didn't edit anything. I don't know what to do. And another thing i don't have xymon-apache.conf in ~/server/etc/xymon-apache.conf. My "xymon-apache.conf" is only located in /etc/apache2/conf.d/xymon

I'm sending you my apache.conf and xymon.conf
Alias /xymon  "/usr/lib/xymon/server/www"
<Directory "/usr/lib/xymon/server/www">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

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

ScriptAlias /xymon-seccgi "/usr/lib/xymon/cgi-secure"
<Directory "/usr/lib/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 /usr/lib/xymon/server/etc/xymonpasswd USERNAME"
    # Add more users / change passwords with "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAM

    AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd
    AuthType Basic
    AuthName "Xymon Administration"
    Require valid-user
</Directory>


 


     On Friday, March 27, 2015 8:05 AM, Ales Krek <aleskrek at yahoo.com> wrote:
   

 Thank you for reply. I solved a problem. The problem was that i didn't have correct configuration in apache.conf. I fix it and now it opens in browser but :) here is a thing the browser gives me  

- /xymon-cgi/svcstatus.sh?HOST=XymonServer&SERVICE=conn
- Not Found 

- The requested URL /xymon-cgi/svcstatus.sh was not found on this server. 
Do u have any ideas? :) I will try on my own, but any help or idea is welcome.
Thank you!
Aleš Krek
 


     On Thursday, March 26, 2015 10:11 PM, J.C. Cleaver <cleaver at terabithia.org> wrote:
   

 

On Thu, March 26, 2015 1:28 am, Ales Krek wrote:
> Hi.I can't get svcstatus.sh on the web browser. The only option i get when
> i click on conn icon of som monitored device in to download svcstatus.sh.
> Can some one please tell me what I'm missing or doing wrong. I would be
> wary glad if some one could send me an example of the configuration.
>
> I'm wary new to xymon. Manny Thanks to all of you guy.
> Ales Krek. 
>


It sounds like ".sh" files might not be being recognized as a CGI script
by your web server.


Depending on your version, you may need a line something like this:

  AddHandler cgi-script .sh

...in your apache config.

Alternatively, you might want to compare the xymon-apache.conf file that
came with the package with the version that you have installed and look
for any discrepancies.


HTH,
-jc



   

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150327/fe86b3dc/attachment.html>


More information about the Xymon mailing list