[Check_mk (english)] check_mk_agent.solaris

Mario Garcia Ortiz mariog at absi.be
Fri Nov 9 09:57:33 CET 2012


Hello,

how should this patch be applied?

thank you.


--
Mario Garcia Ortiz
ABSI SA
224 Bd de l'Humanité
1190 Brussels  Belgium
www.absi.be
Tel 00 322 333 40 00





On 16 September 2012 21:45, Stier, Matthew <Matthew.Stier at us.fujitsu.com>
wrote:
>
> The attached patch file, fixes problems with the Solaris check_mk_agent
> script.
>
>
>
> The first section of the patch simplifies the global zone/non-global zone
> test.  Global and pre-Solaris 10 systems will set zonename to ‘global’ all
> other will not.
>
>
>
> The second section of the patch  fixes several sections of the statgrab
> code.  One: Fixes the zonename test to reflect the changes in the section
> above.  Two: Fixes a typo where it adds ‘.net’ rather than ‘net.’  to the
> variable ‘statgrab_vars’.  Three:  Fix the typo in the invocation of the
> statgrab command. (statgrab_vars versus stagrab_vars)  Four: Rewrote the
> filters to eliminate the ‘cat’ commands, and had ‘grep’ read the output file
> via re-direction, rather than opening the file.
>
>
>
> The final section restores the ntp and netstat code to work on pre-Solaris
> 10 systems. It also modifies the ‘global’ zone check around the mpathadm
> check so the section one check works. The remainder is spacing changes so
> the code fits the layout and four space tabing used throughout the remainder
> of the code.
>
>
>
> --
>
> Matthew Stier
>
> Fujitsu Network Communications
>
> Pearl River, NY 10965
>
> Office: 845-731-2097
>
> Mobile: 845-893-0575
>
>
>
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>


More information about the checkmk-en mailing list