<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>30577</bug_id>
          
          <creation_ts>2014-12-19 08:54:54 +0300</creation_ts>
          <short_desc>Дубли в дефолтном конфиге</short_desc>
          <delta_ts>2016-05-05 15:39:17 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>monit</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="enp">enp</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>evg</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>149365</commentid>
    <comment_count>0</comment_count>
    <who name="enp">enp</who>
    <bug_when>2014-12-19 08:54:54 +0300</bug_when>
    <thetext># grep -v &apos;^#&apos; /etc/monitrc

set daemon  60              # check services at 1-minute intervals
set httpd port 2812 and
    use address localhost  # only accept connection from localhost
    allow localhost        # allow localhost to connect to the server and
    allow admin:monit      # require user &apos;admin&apos; with password &apos;monit&apos;
    allow @monit           # allow users of group &apos;monit&apos; to connect (rw)
    allow @users readonly  # allow users of group &apos;users&apos; to connect readonly

set daemon 300 with start delay 60
set logfile syslog facility log_daemon
set statefile /var/run/monit.state
set idfile /var/run/monit.id
set mailserver localhost
set alert root@localhost

set mail-format {
        from: root@localhost
        subject: [monit] -- $SERVICE $EVENT on $HOST at $DATE
        message:
}

set httpd port 2812 and use the address localhost
        allow localhost
        allow monit:secretword

include /etc/monitrc.d/*

Может дублирующиеся параметры в дефолтном конфиге - это не совсем нормально?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156538</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2016-05-05 15:06:35 +0300</bug_when>
    <thetext>Ой, как-то я эту багу тогда умудрился проморгать; спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156543</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-05-05 15:39:17 +0300</bug_when>
    <thetext>monit-5.17.1-alt2 -&gt; sisyphus:

* Thu May 05 2016 Michael Shigorin &lt;mike@altlinux&gt; 5.17.1-alt2
- tweaked monitrc addition to avoid dups (closes: #30577)
  + added corresponding warning to %post

* Thu Mar 10 2016 Michael Shigorin &lt;mike@altlinux&gt; 5.17.1-alt1.1
- tweaked filesystems, mdadm examples</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>