[Xymon] Xymon script for linux
Japheth Cleaver
cleaver at terabithia.org
Thu Sep 19 16:52:21 CEST 2019
On 9/18/2019 8:05 AM, Zdeněk Tlustý wrote:
> Hello,
>
> the script xymonclient-linux.sh is using commands like ifconfig,
> netstat, etc. These commands are marked as depreciated and some of the
> Linux distributions have removed them already. For example SuSE Linux
> Enterprise Server 15 has no support for netstat and ifconfig.
> The replacement are commands from iproute2 package like ip, ss,
> routel, etc.
> Are there any plan to replace depreciated commands with new ones?
Especially with SS and IP, it's something that's on the road map.
Unfortunately, doing that in a backwards-compatible way will still
keeping the 'linux' OStype/class 'linux' might prove difficult without a
lot more text processing. (This flag is split on the receiving side for
parsing out what client evaluations to run and how, since the output of
SunOS, Linux, BSDs, and other *nixes can vary widely.)
One could either move current OS's to something like "linux-old", or
have upgraded scripts under "linux-new", or do a lot of 'awk' calls in
xymonclient-linux.sh to try to duplicate previous output more precisely.
I'm not sure which is better there.
Regards,
-jc
More information about the Xymon
mailing list