[Pandora-jp] NTPでの状態監視での復帰動作について

OZAKI Tamiya ozaki @ rworks.jp
2012年 8月 16日 (木) 17:24:48 JST


$B;0H?ED$5$^(B:

$B;0H?ED$5$^$N4D6-$r<j85$G:F8=$7$F$_$?$$$N$G!"$*<j?t$G$9$,(B
pandora_agent.conf $B$r(B zip $B05=L$7$F!";d8D?M08$KAw$C$F(B
$B$$$?$@$1$J$$$G$7$g$&$+!#(B

$B$h$m$7$/$*4j$$$$$?$7$^$9!#(B


At Wed, 15 Aug 2012 15:23:28 +0900,
$B;0H?ED(B@$B$R$`$+N.DL%M%C%H%o!<%/(B <santanda @ himuka.ne.jp> wrote:
> $B;0H?ED$G$9!#(B
> 
> $BHx:jMM(B
> 
> $B$*<j?t$r$*$+$1$$$?$7$^$9!#(B
> 
>> $B0lEY!"4XO"$9$k%b%K%?9`L\$r$9$Y$F:o=|$7$F$_$?$i$I$&$G$7$g$&$+!)(B
> $B"*$9$_$^$;$s!"8e$[$I:n6H$7$F$_$^$9!#(B
> 
>> $BJLJ*$H$7$F @ 8@.$5$l$k%b%K%?9`L\$O!"I,$:(B 2 $B$D @ 8@.$5$l$k$N$G$7$g$&$+(B?
> $B"*$O$$#2$D$G$9!#(B
> 
>> 3 $B$D0J>e @ 8@.$5$l$?$j!"4F;k<~4|Kh$K @ 8@.$5$l$?$j$7$F$$$^$;$s$+(B?
> $B"*$"$j$^$;$s!#(B
> 
> $B;d$,4V0c$C$?<j=g$r9T$J$C$F$$$k$+$b$7$l$^$;$s$N$G$3$3$^$G$N:n6H<j=g$r(B
> $B5-$7$^$9!#(B
> 
> $B-!4F;k%5!<%P$G!"%b%8%e!<%k%0%k!<%W$r?75,$K:n @ .(B
> $B!!Nc!K @ -G=!J(BCPU)$B$H$+(B
> $B-"4F;kBP>]%5!<%P$N%b%8%e!<%k @ _Dj$G!"L$E,MQ$NNc$($P(Bpu_user$BEy$G(B
> $B!!>e5--!$G:n @ .$7$?%b%8%e!<%k%0%k!<%W$X3dEv(B
>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NG'!#(B
>> 9. $B$=$NB>%b%K%?9`L\$G!"F1$89`L\$,(B 2 $B8D0J>e$G$-$F$$$J$$$3$H$r3NG'!#(B
>>
>> $BJLJ*$H$7$F @ 8@.$5$l$k%b%K%?9`L\$O!"I,$:(B 2 $B$D @ 8@.$5$l$k$N$G$7$g$&$+(B?
>> 3 $B$D0J>e @ 8@.$5$l$?$j!"4F;k<~4|Kh$K @ 8@.$5$l$?$j$7$F$$$^$;$s$+(B?
>>
>>
>> At Tue, 07 Aug 2012 18:00:55 +0900,
>> $B;0H?ED(B@$B$R$`$+N.DL%M%C%H%o!<%/(B <santanda @ himuka.ne.jp> wrote:
>>> $B;0H?ED$G$9!#(B
>>>
>>> $BHx:jMM(B
>>>
>>> $B%"%I%P%$%9D:$$$?0J2<$N;EAH$_$G;n83$7$^$7$?!#(B
>>> module_exec /lib/nagios_plugin/check_ntp -H NTP-SecverIP | awk
>>>
>>> $B7k6I!":C@^$7$F$*$j$^$9!#(B
>>>
>>> $BNc$($P!"7Y9p>uBV$G$NogCM @ _Dj$r$7$F(B5$BJ,BT$C$F$?$i!"E:IU2hA|$NDL$j!"(B
>>> $BJLJ*$N%b%8%e!<%k!JL>A0$OF1$8!K$, @ 8@.$5$l$F!"7Y9p$K%R%C%H$;$:!"(B
>>> $B;C$/$?$C$F$+$i!"(B[DOWN]$B!!$N>uBVI=<($K$J$j$^$9!#K\Mh$O!"(B
>>> [WARNING]$B$J$N$G$9$,!#!#!#!#(B
>>> $B?'!9$H;XDj$rJQ99$7$?$j;n9T$7$F$*$j$^$9$,!"@h$K?J$a$J$$>u67$G$9!#(B
>>>
>>> $B2?8N!"JLJ*$H$7$F @ 8@.$5$l$k$N$G$7$g$&$+!)(B
>>>
>>> $BJd=u>pJs!K(B
>>> [root @ test1]# /lib/nagios_plugin/check_ntp -H xxx.xxx.xxx.xxx | awk '{print $4}'
>>> 5.497729753
>>> [root @ db-test tmp]# ntpq -p
>>>         remote           refid      st t when poll reach   delay   offset  jitter
>>> ==============================================================================
>>> *aa.aaa.aaa.aaa 133.243.238.244  2 u   53  128  377    0.331  5501.77   2.005
>>>     LOCAL(0)        .LOCL.          10 l   34   64  377    0.000    0.000   0.001
>>>
>>>
>>>
>>> (2012/08/02 11:20), OZAKI Tamiya wrote:
>>>> $B;0H?ED$5$^(B:
>>>>
>>>> At Wed, 01 Aug 2012 09:52:29 +0900,
>>>> $B;0H?ED(B@$B$R$`$+N.DL%M%C%H%o!<%/(B <santanda @ himuka.ne.jp> wrote:
>>>>>
>>>>> $B!!(Bnagios$B$G$O!"(Boffset$B$r=&$$!"ICJQ49$7$F$$$k$h$&$J46$8$G$9!#(B
>>>>> $B!!:#2s$b$=$N$h$&$K$7$?$$$N$G$9$,!#!#!#(B
>>>>
>>>> ntpq $B$N=PNO$H(B check_ntp $B$N=PNO$rHf$Y$?$H$-!"(Bcheck_ntp $B$N$[$&$,(B
>>>> $B;0H?ED$5$^$N$4MWK>$K1h$&>pJs$,<h$j=P$;$=$&!"$H$$$&$3$H$G$9$M!#(B
>>>> $B$G$O!"(Bcheck_ntp $B$r;H$C$F>pJs$r<}=8$7$^$7$g$&!#(B
>>>>
>>>> $B @ h$N(B module_exec $B9T$r0J2<$K:9$7BX$($F!"(B
>>>> pandora_agent $B$r:F5/F0$7$F$/$@$5$$!#(B
>>>>
>>>> | module_exec /lib/nagios_plugin/check_ntp -H NTP-SecverIP | awk '{print
>>>> $4}'
>>>>
>>>
>>
>>
> 
> 


-- 
$B")(B170-6016 $BEl5~ETK-Eg6hElCSB^(B 3-1-1  $B%5%s%7%c%$%s(B60 16F
$B3t<02q<R%"!<%k%o!<%/%9(B  $B%M%C%H%o!<%/%$%s%F%0%l!<%7%g%sIt(B
$BHx:j(B $BL1:H(B (OZAKI Tamiya)
TEL:03-5911-2215($BBeI=(B) 03-5911-2302($B%@%$%d%k%$%s(B) FAX:03-5911-2216
--- --.. .- -.- .. .--.-. .-. .-- --- .-. -.- ... .-.-.- .--- .--.


Pandora-jp メーリングリストの案内