<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general">
    <title>gmane.comp.monitoring.mon.general</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1014"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1013"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1012"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1011"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1010"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1009"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1008"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1007"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1006"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1005"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1004"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1003"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1002"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1001"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1000"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/999"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/998"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/997"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/996"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/995"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1014">
    <title>Infocon monitor v0.2 Released</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1014</link>
    <description>&lt;pre&gt;The ISC changed the infocon file on their site to a redirect, so we had
to adjust the code.
:-)

http://www.cmpublishers.com/oss/#infocon.monitor

Enjoy


&lt;/pre&gt;</description>
    <dc:creator>Nathan Gibbs</dc:creator>
    <dc:date>2011-08-03T01:42:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1013">
    <title>Re: Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1013</link>
    <description>&lt;pre&gt;On Wed, 27 Jul 2011 20:37:06 +0200, Dario Minnucci &amp;lt;midget&amp;lt; at &amp;gt;debian.org&amp;gt;
wrote:


Well, apparently Ubuntu 11.04 doesn't have it (yet?).

http://packages.ubuntu.com/natty/mon

But I'm ok with my manual fix for now. I might open a bug in the Ubuntu
tracker. Thanks for all the answers.

&lt;/pre&gt;</description>
    <dc:creator>Davide Brini</dc:creator>
    <dc:date>2011-07-28T07:52:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1012">
    <title>Re: Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1012</link>
    <description>&lt;pre&gt;

It's in the CVS HEAD, has been for a while, which is newer than mon-1.2.0.
Time for a 1.2.1 I guess.
&lt;/pre&gt;</description>
    <dc:creator>Jim Trocki</dc:creator>
    <dc:date>2011-07-27T19:35:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1011">
    <title>Re: Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1011</link>
    <description>&lt;pre&gt;
Hi Davide,

On 07/27/2011 04:55 PM, Davide Brini wrote:


BTW, it was fixed under mon 1.2.0-2 as stated under Debian BTS #611751 [0]

So, consider update mon to 1.2.0-2

Regards,


[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611751


&lt;/pre&gt;</description>
    <dc:creator>Dario Minnucci</dc:creator>
    <dc:date>2011-07-27T18:37:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1010">
    <title>Re: Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1010</link>
    <description>&lt;pre&gt;
Hi list,

On 07/27/2011 07:38 PM, Allan Wind wrote:


The issue was reported [0] and patch attached to be considered.

I don't really know if was applied on upstream sources yet.

Regards,



[0] http://sourceforge.net/tracker/?func=detail&amp;amp;aid=3177976&amp;amp;group_id=170&amp;amp;atid=100170


&lt;/pre&gt;</description>
    <dc:creator>Dario Minnucci</dc:creator>
    <dc:date>2011-07-27T18:34:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1009">
    <title>Re: Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1009</link>
    <description>&lt;pre&gt;
Debian fixed this with Bug#611751 I believe.  Surprised if that 
did not make it upstream.


/Allan
&lt;/pre&gt;</description>
    <dc:creator>Allan Wind</dc:creator>
    <dc:date>2011-07-27T17:38:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1008">
    <title>Syslog problems</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1008</link>
    <description>&lt;pre&gt;Hi, I'm using the stable mon-1.2.0-1 under Ubuntu 11.04 (Perl 5.10.1), and I
noticed that mon wasn't logging anything at all in syslog. Further
inspection revealed that the problem seems to be in the redefined syslog()
function:

no warnings; # Redefining syslog
sub syslog {
   eval {
       local $SIG{"__DIE__"}= sub { }; 
       my &amp;lt; at &amp;gt;log = map { s/\%//mg; } &amp;lt; at &amp;gt;_;
       Sys::Syslog::syslog(&amp;lt; at &amp;gt;log);
   }
}

since $_ is aliased in a map {} block, when the function is passed constant
strings, the map {} on &amp;lt; at &amp;gt;_ fails with a "modification of a read-only value
attempted". However this is not apparent, not even in debug mode, since it
happens inside the eval{} block.

Suggested change (for example):

no warnings; # Redefining syslog
sub syslog {
   eval {
       local $SIG{"__DIE__"}= sub { };
       my &amp;lt; at &amp;gt;log = &amp;lt; at &amp;gt;_;
       s/\%//mg for (&amp;lt; at &amp;gt;log);
       Sys::Syslog::syslog(&amp;lt; at &amp;gt;log);
   }
}

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Davide Brini</dc:creator>
    <dc:date>2011-07-27T14:55:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1007">
    <title>Re: Defunct children after sending alert</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1007</link>
    <description>&lt;pre&gt;Yep! It worked.
Thanks a lot for the fast response and the patch.

- Giampaolo

2011/7/19 Jim Trocki &amp;lt;trockij&amp;lt; at &amp;gt;gmail.com&amp;gt;

_______________________________________________
mon mailing list
mon&amp;lt; at &amp;gt;linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon
&lt;/pre&gt;</description>
    <dc:creator>Giampaolo Rodolà</dc:creator>
    <dc:date>2011-07-20T13:07:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1006">
    <title>Re: Defunct children after sending alert</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1006</link>
    <description>&lt;pre&gt;

let me know if the attached patch helps. watch the syslog "info"
output for "master alert pid", "child alert pid", and "reaped pid".
there should be one "reaped pid" for every "alert pid", assuming all
alert processes are exiting properly.

if that doesn't help, send a process tree output showing the zombies so
i can see whose zombies they are, actually.Index: mon
===================================================================
RCS file: /cvsroot/mon/mon/mon,v
retrieving revision 1.27
diff -u -r1.27 mon
--- mon20 Jun 2011 17:26:25 -00001.27
+++ mon19 Jul 2011 11:54:30 -0000
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3223,11 +3223,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
     my ($summary, $tmnow, $buf);
 
     $tmnow = time;
-    return if (keys %running == 0);
 
     while ((my $p = waitpid (-1, &amp;amp;WNOHANG)) &amp;gt;0)
     {
-next if (!exists $runningpid{$p});
+if (!exists $runningpid{$p})
+{
+    syslog ("info", "reaped pid $p");
+    next;
+}
 my ($group, $service) = split (/\//, $runningpid{$p});
 my $sref = \%{$watch{$group}-&amp;gt;{$service}};
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; &lt;/pre&gt;</description>
    <dc:creator>Jim Trocki</dc:creator>
    <dc:date>2011-07-19T11:58:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1005">
    <title>Defunct children after sending alert</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1005</link>
    <description>&lt;pre&gt;Hi all,
I bumped into this problem:
http://www.mail-archive.com/mon&amp;lt; at &amp;gt;linux.kernel.org/msg00828.html

My configuration consists of a master mon server which receives traps from
different mon slaves.
Extract from my conf:

watch uci
    service cpu
        period wd {Sun-Sat}
            alert mail.alert {my email address}
            upalert mail.alert {my email address}
            alertevery 1h

Every time a failure trap is sent from one of my slaves the mon master
correctly sends an email alert and I can detect that a new defunct process
appeared with:

$ ps aux | grep mon
13637 ? Z 0:00 [mon] &amp;lt;defunct&amp;gt;
13659 ? Z 0:00 [mon] &amp;lt;defunct&amp;gt;
13697 ? Z 0:00 [mon] &amp;lt;defunct&amp;gt;

This is kind of annoying as I'm forced to restart the mon master server
periodically given that we can send hundreds of traps per-day.

By digging into commit history I found this:
http://www.mail-archive.com/mon&amp;lt; at &amp;gt;linux.kernel.org/msg00828.html
...so I picked up latest development version from
https://mon.wiki.kernel.org/index.php/Development and &lt;/pre&gt;</description>
    <dc:creator>Giampaolo Rodolà</dc:creator>
    <dc:date>2011-07-19T10:03:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1004">
    <title>Running a task once a day, at given time</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1004</link>
    <description>&lt;pre&gt;Hello, this is my requirement: I want to run a monitor exactly once
per day, around 4am. If the monitor fails, I want to get exactly one
alert; if it succeeds, nothing should happen.

This is what I've tried so far:

watch myserver
        service testservice
                description Test for monitoring once per day
                interval 5m
                exclude_period hr {5-23} min {0-59}, hr {0-3} min
{0-59}, hr {4} min {5-59}
                monitor testservice.monitor
                period wd {Mon-Sun}
                        alert mail.alert alerts&amp;lt; at &amp;gt;example.com

Currently, "testservice.monitor" is a dummy script that always returns failure.

I figured that leaving a 5-minute window for the monitor to run, it
would run exactly once during that 5-minute window. However, it
doesn't seem to work that way as I get no email.

I also though of using "interval 1d", but there doesn't seem to be a
way to specify when, during the day, the monitor should run, so I
suppose that would just take the time the d&lt;/pre&gt;</description>
    <dc:creator>Marco</dc:creator>
    <dc:date>2011-07-15T08:24:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1003">
    <title>http.monitor IPv6 version</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1003</link>
    <description>&lt;pre&gt;Does anyone use http.monitor IPv6 version? I tried to modify original one
to use "use Socket6;", but it is hard for me. Any help will be appreciated.
&lt;/pre&gt;</description>
    <dc:creator>Shigeru Yanagibayashi</dc:creator>
    <dc:date>2011-07-10T06:17:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1002">
    <title>Infocon monitor</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1002</link>
    <description>&lt;pre&gt;http://isc.sans.org/diary.html?date=2011-06-26

for nagios

Now we have one too.
:-)

http://www.cmpublishers.com/oss/#infocon.monitor


&lt;/pre&gt;</description>
    <dc:creator>Nathan Gibbs</dc:creator>
    <dc:date>2011-07-08T00:04:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1001">
    <title>Re: mon monitor for arpwatch?</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1001</link>
    <description>&lt;pre&gt;
OK, other things are slowing down my development efforts right now, but
I will get it done.


If you can get arpwatch to dump into a log file and build a monitor to
process that, you may get what you want.
Just an idea.

Also check out arpalert, it seems to have more features than arpwatch.


&lt;/pre&gt;</description>
    <dc:creator>Nathan Gibbs</dc:creator>
    <dc:date>2011-07-06T16:01:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1000">
    <title>Re: mon monitor for arpwatch?</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/1000</link>
    <description>&lt;pre&gt;

On 7/1/11 12:46 PM, Nathan Gibbs wrote:

Yes.

A bit more control over reporting frequency and what is reported would be very good. Arpwatch 
produces an overload and makes it hard to use on a busy network since it is constantly shouting 
about things. If you can recognize that some particular hardware address was already reported for a 
particular behavior and not continue hollering about it, that would make it more valuable -- i.e. 
increase the signal to noise ratio. Any other correlation or diagnostic stuff would be good as well.


&lt;/pre&gt;</description>
    <dc:creator>Chris Hoogendyk</dc:creator>
    <dc:date>2011-07-05T16:00:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/999">
    <title>Re: mon monitor for arpwatch?</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/999</link>
    <description>&lt;pre&gt;
I don't, but I have been working on a monitor to check the arp table of
hosts and report anomalies.

Anyone interested?


&lt;/pre&gt;</description>
    <dc:creator>Nathan Gibbs</dc:creator>
    <dc:date>2011-07-01T16:46:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/998">
    <title>Re: Failure to find designatated monitor reported as "untested"</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/998</link>
    <description>&lt;pre&gt;


i just checked in changes to the trunk for module "mon" and "mon-client"
which added a "configerr" state. there are changes to clients/monshow
and clients/mon.cgi which should reflect this. i tested it a bit and
it seems to work, so it'd be nice if you could check out the code and
confirm for yourself that it works.

it may take some amount of time before the read-only public cvs repo is
synced with the devel repo at sf. these are the revisions:



  cvs ci -m "added configerr state"
cvs commit: Examining .
cvs commit: Examining alert.d
cvs commit: Examining cgi-bin
cvs commit: Examining clients
cvs commit: Examining clients/skymon
cvs commit: Examining doc
cvs commit: Examining etc
cvs commit: Examining mon.d
cvs commit: Examining muxpect
cvs commit: Examining state.d
cvs commit: Examining utils
Checking in mon;
/cvsroot/mon/mon/mon,v  &amp;lt;--  mon
new revision: 1.27; previous revision: 1.26
done
Mailing mon-commit&amp;lt; at &amp;gt;lists.sourceforge.net...
Generating notification message...
Generating notification message...&lt;/pre&gt;</description>
    <dc:creator>Jim Trocki</dc:creator>
    <dc:date>2011-06-20T17:32:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/997">
    <title>Re: Failure to find designatated monitor reported as "untested"</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/997</link>
    <description>&lt;pre&gt;
I believe you, but wasn't seeing them in syslog, even with "-d" in the
command line. I see a check for the existence of the directory and its
report to syslog, but not for the absence of a particular monitor
tool, or even if I yank the /usr/local/lib/mon/mon.d directory.. I'm
not sure why. Looks like I'd like to review the settings for rsyslog,
used on Debian, but due to typical system security, it's often awkward
for a non-root user to parse through these logs.

If I can talk you, as the original author, to enhance your perl,  to
report a "missing" status rather than merely "untested", I'd
appreciate that quite a lot.
&lt;/pre&gt;</description>
    <dc:creator>Nico Kadel-Garcia</dc:creator>
    <dc:date>2011-06-15T12:20:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/996">
    <title>Re: Failure to find designatated monitor reported as "untested"</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/996</link>
    <description>&lt;pre&gt;

well, both are tested and if problems are found, reported to syslog.
other related troubles are reported as well.
&lt;/pre&gt;</description>
    <dc:creator>Jim Trocki</dc:creator>
    <dc:date>2011-06-15T02:34:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/995">
    <title>Re: Failure to find designatated monitor reported as "untested"</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/995</link>
    <description>&lt;pre&gt;
As it turns out, I got multiply confused. The "mondir" setting is in
the manual page. It *does* describe a list of target directories to
search through. The problem is that the stable Debian mon package
reads init script settings from /etc/default/mon, and hands them as
command line arguments ot the "/usr/sbin/mon" program. This overrides
the contents of mon.cf: So where mon.cf said something like "mondir =
/usr/lib/mon/mon.d:/usr/local/lib/mon/mon.d" to allow host specific or
local monitors in /usr/local/lib/mon/mon.d/, the init script  wound up
forcing the use of /usr/lib/mon/mon.d

Edit /etc/devailt/mon, and suddenly it worked. Drove me *NUTS* finding that one.


Not being executable, I think, should be the test, rather than merely
not being present.
&lt;/pre&gt;</description>
    <dc:creator>Nico Kadel-Garcia</dc:creator>
    <dc:date>2011-06-15T02:04:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.monitoring.mon.general/994">
    <title>Re: Failure to find designatated monitor reported as "untested"</title>
    <link>http://permalink.gmane.org/gmane.comp.monitoring.mon.general/994</link>
    <description>&lt;pre&gt;

so if you have mondir which is a colon-separated list of directories, and
a service definition specifies, say, "ping.monitor", it will search each
of those directories for a ping.monitor and use the first one it finds.
what was the behavior you were expecting? i don't understand.


it does syslog that there's a problem with the config, i.e. it cannot
find the monitor for a particular service, but nothing that would show
up on the web page output or indicated via the client protocol. making a
new state to indicate a config-related problem for a particular service
is a good idea. there are a few different errors which could be indicated
through that mechanism, beyond not finding the monitor in the mondir path.
&lt;/pre&gt;</description>
    <dc:creator>Jim Trocki</dc:creator>
    <dc:date>2011-06-14T22:55:47</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.monitoring.mon.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.monitoring.mon.general</link>
  </textinput>
</rdf:RDF>
