Page 1 of 1

Tomcat plugin notifications

Posted: Tue Sep 25, 2018 6:08 am
by Siddharth Hegde
Hi,

I am using a tomcat plugin for alerts. It generates lots of alerts for memory usages which lot of times are false alerts and are usually fixed or recovered by next notification. How can I optimize it or change for it to send less false alerts.

server.cfg

Code: Select all

define service{
        use                             generic-service
        host_name                       server
        service_description             Tomcat
         contact_groups                  admins
        check_command                   check_tomcat!port!user!password!10%,10%!5%,5%
        }
Can I add max_check_attempts here or can I change setting of critical threshold for memory?

This server is hosting few services so I have to be cautious of it.

Regards,
Siddarth Hegde

Re: Tomcat plugin notifications

Posted: Tue Sep 25, 2018 8:18 am
by scottwilkerson
Yes you can like this, if you need more retries before alerting you can increase the max_check_attempts

Code: Select all

define service{
        use                             generic-service
        host_name                       server
        service_description             Tomcat
        max_check_attempts       5
        check_interval           5
        retry_interval           1
         contact_groups                  admins
        check_command                   check_tomcat!port!user!password!10%,10%!5%,5%
        }

Re: Tomcat plugin notifications

Posted: Wed Sep 26, 2018 5:43 am
by Siddharth Hegde

Re: Tomcat plugin notifications

Posted: Wed Sep 26, 2018 7:45 am
by scottwilkerson
Siddharth Hegde wrote:Thanks @scottwilkerson
May we close the thread?

Re: Tomcat plugin notifications

Posted: Wed Sep 26, 2018 7:58 am
by Siddharth Hegde
Yes please

Re: Tomcat plugin notifications

Posted: Wed Sep 26, 2018 9:53 am
by scottwilkerson
Siddharth Hegde wrote:Yes please
Great!

Locking thread.