Problem with apache2.sh plugin
Aravinth Anto
t-aravinth at juspay.in
Tue Sep 4 16:14:06 CEST 2012
On Tue, Sep 4, 2012 at 11:38 AM, Claudio Kuenzler <ck at claudiokuenzler.com>wrote:
> In your case I'd do:
>
> ./check_apache2.sh -H localhost -P 8443 -S
>
> And you must have mod_status enabled.
>
> I just tested this on a Debian machine. You will also have to install "bc"
> if you haven't already.
>
Thanks finally I figured that out. The problem was with the redirect rule.
I just disabled the redirect rule for localhost alone. And now everything
is working fine. We have our nagios monitoring our apache. Thanks for your
help.
>
> On Tue, Sep 4, 2012 at 7:58 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/66f9c081/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