[Xymon] No Interface graphs for hosts on CentOS 7..

Francois Claire fclaire at free.fr
Fri Mar 13 16:18:29 CET 2015


Hi Rolf,


I hit this problem a while back on Fedora 16 and I found a trick to get 
it working: to pipe a cat command to the output of the ifconfig.

Here's a patch I proposed:

--- xymonclient-linux.sh.orig    2012-01-06 11:30:09.000000000 +0100
+++ xymonclient-linux.sh    2012-01-06 11:30:35.000000000 +0100
@@ -55,7 +55,7 @@
   echo "[free]"
   free
   echo "[ifconfig]"
-/sbin/ifconfig
+/sbin/ifconfig | cat
   echo "[route]"
   netstat -rn
   echo "[netstat]"
@@ -64,7 +64,7 @@
   # Bug in RedHat's netstat spews annoying error messages.
   netstat -ant 2>/dev/null
   echo "[ifstat]"
-/sbin/ifconfig
+/sbin/ifconfig | cat
   # Report mdstat data if it exists
   if test -r /proc/mdstat; then echo "[mdstat]"; cat /proc/mdstat; fi
   echo "[ps]"


Corresponding thread in xymon developer mailing list:
http://sourceforge.net/p/xymon/mailman/message/28638172/


Could you please try it and let us know wether it helps in your case ?


Francois.


Le 11/03/2015 18:42, Rolf Brusletto a écrit :
> I googled, and couldn't find anything regarding this, but I'm not 
> seeing any interface graphs for hosts with CentOS7 / RedHat 7, and I'm 
> trying to understand why. RPMs freshly built from 4.3.18 for CentOS7, 
> the client is running 4.3.18, and the server is 4.3.9. Is there some 
> sort of incompatability here with the output from ifconfig or ifstat?
>
> Best regards,
>
> Rolf Brusletto
> Senior Network And Systems Admin
> Global Liquidity Partners, LLC
> rolf at glptrading.com <mailto:rolf at glptrading.com>
> 720-763-8163 office
> 303-638-8013 mobile
>
> //
>
> /*Confidentiality Notice:* This email, including attachments, may 
> include non-public, proprietary, confidential or legally privileged 
> information.  If you are not an intended recipient or an authorized 
> agent of an intended recipient, you are hereby notified that any 
> dissemination, distribution or copying of the information contained in 
> or transmitted with this e-mail is unauthorized and strictly 
> prohibited.  If you have received this email in error, please notify 
> the sender by replying to this message and permanently delete this 
> e-mail, its attachments, and any copies of it immediately.  You should 
> not retain, copy or use this e-mail or any attachment for any purpose, 
> nor disclose all or any part of the contents to any other person./
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150313/db263764/attachment.html>


More information about the Xymon mailing list