summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-January/004145.html
blob: d53c88843d6810f17bac7f6448391962f85428da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [sysadmin-reports] Hobbit	[817408]	alamut.mageia.org:hobbitd warning (YELLOW)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-reports%5D%20Hobbit%0A%09%5B817408%5D%09alamut.mageia.org%3Ahobbitd%20warning%20%28YELLOW%29&In-Reply-To=%3C1326731141.29662.12.camel%40liliana.cdg.redhat.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004144.html">
   <LINK REL="Next"  HREF="004150.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [sysadmin-reports] Hobbit	[817408]	alamut.mageia.org:hobbitd warning (YELLOW)</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-reports%5D%20Hobbit%0A%09%5B817408%5D%09alamut.mageia.org%3Ahobbitd%20warning%20%28YELLOW%29&In-Reply-To=%3C1326731141.29662.12.camel%40liliana.cdg.redhat.com%3E"
       TITLE="[Mageia-sysadm] [sysadmin-reports] Hobbit	[817408]	alamut.mageia.org:hobbitd warning (YELLOW)">misc at zarb.org
       </A><BR>
    <I>Mon Jan 16 17:25:41 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="004144.html">[Mageia-sysadm] [sysadmin-reports] Hobbit	[817408]	alamut.mageia.org:hobbitd warning (YELLOW)
</A></li>
        <LI>Next message: <A HREF="004150.html">[Mageia-sysadm] [sysadmin-reports] Hobbit [817408]	alamut.mageia.org:hobbitd warning (YELLOW)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4145">[ date ]</a>
              <a href="thread.html#4145">[ thread ]</a>
              <a href="subject.html#4145">[ subject ]</a>
              <a href="author.html#4145">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le lundi 16 janvier 2012 &#224; 16:59 +0100, nicolas vigier a &#233;crit :
&gt;<i> On Mon, 16 Jan 2012, Michael Scherer wrote:
</I>&gt;<i> 
</I>&gt;<i> &gt; Le lundi 16 janvier 2012 &#224; 14:10 +0200, Buchan Milne a &#233;crit :
</I>&gt;<i> &gt; &gt; Why are we restarting xymon every hour?
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; because the initscripts do not have a 'status' command and so xymon is
</I>&gt;<i> &gt; restarted by puppet ( in fact, not restarted, just started ). 
</I>&gt;<i> &gt; I supposed that xymon initscript would be idempotent and just do
</I>&gt;<i> &gt; nothing, and since you were aware of the issue last time we talk, I
</I>&gt;<i> &gt; supposed it was not a problem beyong &quot;1 useless line of log&quot;. 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; But if this is the reason why xymon is flooding the list ( and i didn't
</I>&gt;<i> &gt; figured this was the problem after looking at the code ), I will take a
</I>&gt;<i> &gt; look to avoid that. Puppet can surely work around this.
</I>&gt;<i> 
</I>&gt;<i> Yes, hasstatus parameter to xymon service can be set to false if
</I>&gt;<i> init script does not support &quot;status&quot; :
</I>&gt;<i> <A HREF="http://docs.puppetlabs.com/references/stable/type.html#service">http://docs.puppetlabs.com/references/stable/type.html#service</A>
</I>
Yep, but after it fail since it try to loopup in the process table for a
process called xymon ( who doesn't exist ). 

So we need to add our own status command, which thankfully was already
done by the script used to start xymon. 

I pushed this on svn, see commit r2281 and r2279. 

-- 
Michael Scherer

</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004144.html">[Mageia-sysadm] [sysadmin-reports] Hobbit	[817408]	alamut.mageia.org:hobbitd warning (YELLOW)
</A></li>
	<LI>Next message: <A HREF="004150.html">[Mageia-sysadm] [sysadmin-reports] Hobbit [817408]	alamut.mageia.org:hobbitd warning (YELLOW)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4145">[ date ]</a>
              <a href="thread.html#4145">[ thread ]</a>
              <a href="subject.html#4145">[ subject ]</a>
              <a href="author.html#4145">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>