Problem with apache2.sh plugin
Aravinth Anto
t-aravinth at juspay.in
Tue Sep 4 08:34:10 CEST 2012
On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler <ck at claudiokuenzler.com>wrote:
> Read the documentation. It says:
>
> -S|--secure)
> Enables HTTPS (no certificate check though). Default is: off
>
> Thanks for the reply. But Doing so:
$ ./check_apache2.sh -H localhost -S
Gives me the same sort of error:
(standard_in) 2: syntax error
OK - Apache serves Requests per second with an average CPU utilization of
2.4%. Busy workers: , idle: | 'cpu_load'=2.4 'req_psec'= 'bytes_psec'=
'bytes_preq'= 'workers_busy'= 'workers_idle'=
> So the certificate is not checked.
> And if you manually check with curl, you should check the correct URL:
> curl https://localhost/server-status
>
> On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto <t-aravinth at juspay.in>wrote:
>
>> It seems that certificate verification is getting failed. I can do
>> something like this :
>>
>> curl https://localhost --insecure
>>
>> Which is returning the page. But in my case how do I specify the plugin
>> to not to use ssl certificate?
>>
>> Thanks in advance. Kindly help me out.
>>
>>
>> On Tue, Sep 4, 2012 at 11:28 AM, Aravinth Anto <t-aravinth at juspay.in>wrote:
>>
>>> Hi all,
>>>
>>> I downloaded the plugin from this page :
>>> http://exchange.nagios.org/directory/Plugins/Web-Servers/Apache/check_apache2-2Esh/details
>>>
>>>
>>> I tested in my local machine like this :
>>>
>>> ./check_apache2.sh -H https://localhost -P 8443
>>>
>>> I get an error like this:
>>>
>>> (standard_in) 2: syntax error
>>> OK - Apache serves Requests per second with an average CPU utilization
>>> of 0.5%. Busy workers: , idle: | 'cpu_load'=0.5 'req_psec'= 'bytes_psec'=
>>> 'bytes_preq'= 'workers_busy'= 'workers_idle'=
>>>
>>> Why there is an error stating `(standard_in) 2: syntax error`?
>>>
>>> Can anyone say me where I'm making the mistake?
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120904/9fd42a35/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list