Ad Widget

Collapse

Apache2 monitoring for https using perl script.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shivaramakrishnan
    Junior Member
    • Apr 2013
    • 2

    #1

    Apache2 monitoring for https using perl script.

    Hi,
    I am a newbie to zabbix and I am trying to get the monitoring implemented to our web servers through zabbix.
    I got the perl script from zabbix forums (attached the script) and I tested it on my http test site.
    my($url)="http://<ip>/server-status?auto";
    works perfectly.getting all the values as desired.

    But wanted to know if this would work for the following options:
    my($url)="https://<ip>/server-status?auto";
    my($url)="https://abc.com/server-status?auto";

    Assuming I have only this in my apache2.conf file on which I want the stats for

    ExtendedStatus On
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from <zabbix_server ip>
    </Location>


    Can someone please let me know what I need to modify in the script to implement https.Any help is greatly appreciated.I need to get this working as I have many webservers and I don't have any monitoring going on for it.
    Attached Files
  • Bernd Hohmann
    Member
    • Mar 2013
    • 46

    #2
    Im not a perl guru, but as far as I know LWP::Simple does not support SSL.

    Maybe this could be a starting point for further research: http://www.perlmonks.org/?node_id=20225

    Bernd

    Comment

    Working...