Hi,

yes, you can have a general alert rule in M/Monit with exclude list, for 
example to send alert for every event except for PID and PPID:




Best regards,
Martin


> On 08 Jun 2016, at 18:33, Nick Upson <[email protected]> wrote:
> 
> Hi Tino
> 
> that is a change for monit configuration, I'm trying to ignore this is m/monit
> 
> Nick Upson,
> Principal Operations Engineer, Telensa Ltd.
> Direct +44 (0) 1799 533252, Support Hotline +44 (0) 1799 399200
> 
> 
> On 8 June 2016 at 17:31, Tino Hendricks <[email protected] 
> <mailto:[email protected]>> wrote:
> Huh?
> 
> I thought this was the top answer in the link:
> 
> check process blop with pidfile /.../blop.pid
>     alert [email protected] <mailto:[email protected]> but not on { 
> pid }
>     start program = "..."
>     stop  program = "…"
> 
> 
> Take care,
> 
> Tino
> > Am 08.06.2016 um 18:25 schrieb Nick Upson <[email protected] 
> > <mailto:[email protected]>>:
> >
> > Can I set a filter in mmonit to send alerts on all except this pid
> >
> > Nick Upson,
> > Principal Operations Engineer, Telensa Ltd.
> > Direct +44 (0) 1799 533252 <tel:%2B44%20%280%29%201799%20533252>, Support 
> > Hotline +44 (0) 1799 399200 <tel:%2B44%20%280%29%201799%20399200>
> >
> >
> > On 8 June 2016 at 14:29, Nick Upson <[email protected] 
> > <mailto:[email protected]>> wrote:
> > Hi
> >
> > thanks, that's one solution
> >
> > Nick Upson,
> > Principal Operations Engineer, Telensa Ltd.
> > Direct +44 (0) 1799 533252 <tel:%2B44%20%280%29%201799%20533252>, Support 
> > Hotline +44 (0) 1799 399200 <tel:%2B44%20%280%29%201799%20399200>
> >
> >
> > On 8 June 2016 at 14:26, Tino Hendricks <[email protected] 
> > <mailto:[email protected]>> wrote:
> > Would this help?
> > http://serverfault.com/questions/312964/disable-monit-alerts-when-pid-changed
> >  
> > <http://serverfault.com/questions/312964/disable-monit-alerts-when-pid-changed>
> >
> > Am 08.06.2016 um 15:17 schrieb Nick Upson <[email protected] 
> > <mailto:[email protected]>>:
> >
> >> Hi
> >>
> >> We have several systems that monitor vsftpd to make sure its up and ok, 
> >> but keep getting
> >> alerts like this
> >>
> >> Date Host    Service Action  Description
> >> 08 Jun 10:34:36 +0100        britishland-ash.telensa.com 
> >> <http://britishland-ash.telensa.com/>     vsftpd  Alert   process PID 
> >> changed from 28483 to 3826
> >> 08 Jun 10:34:36 +0100        britishland-ash.telensa.com 
> >> <http://britishland-ash.telensa.com/>     vsftpd  Alert   process PPID 
> >> changed from 3826 to 1
> >>
> >>
> >> from mmonit (currently trialing). Does anyone have any suggestion how we 
> >> can avoid this?
> >>
> >>
> >>
> >> (BTW: the problem appears to be that the parent spawns a child, which 
> >> spawns a child, which confuses monit)
> >>
> >>  4108 ?        Ss     0:20 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
> >> 27515 ?        Ss     0:00  \_ /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
> >> 27517 ?        S      0:00      \_ /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
> >> Nick Upson,
> >> Principal Operations Engineer, Telensa Ltd.
> >> Direct +44 (0) 1799 533252, Support Hotline +44 (0) 1799 399200
> >>
> >> --
> >> To unsubscribe:
> >> https://lists.nongnu.org/mailman/listinfo/monit-general 
> >> <https://lists.nongnu.org/mailman/listinfo/monit-general>
> >
> > --
> > To unsubscribe:
> > https://lists.nongnu.org/mailman/listinfo/monit-general 
> > <https://lists.nongnu.org/mailman/listinfo/monit-general>
> >
> >
> > --
> > To unsubscribe:
> > https://lists.nongnu.org/mailman/listinfo/monit-general 
> > <https://lists.nongnu.org/mailman/listinfo/monit-general>
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general 
> <https://lists.nongnu.org/mailman/listinfo/monit-general>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to