Created my new plugin. Suggestions please!
Aravinth Anto
t-aravinth at juspay.in
Thu Sep 6 11:05:09 CEST 2012
Typical use case is. If you want to make sure that your apache log doesn't
have more than 10 5xx errors then you can do this :
check_match_pattern -f /var/log/apache2/error.log -r ^5[0-9]{2}$ -wl 7 -cl
10
This will generate an CRITICAL alert.
Suggestions welcome.
On Thu, Sep 6, 2012 at 2:26 PM, Aravinth Anto <t-aravinth at juspay.in> wrote:
> Hi all,
>
> I created a new plugin of our own use. We need some way to find whether
> 5xx errors appears in our log mainly in apache log. And also "connection
> failed, error" in syslogs. So overall it can used to match any pattern (
> which user might think ) for a particular file
>
> I'm a newbie to Nagios and too in bash. I wish I could publish this plugin
> as it would save time for others in the community.
>
> I have attached my plugin ( written in bash ). I want suggestions from our
> side.
>
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120906/34911415/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