Hi,
thanks Axel. I just saw that "trends" shows network traffic. So the data is already collected and available on the server. xymon server is Linux, only the clients are Solaris. So someone can tell me how I can access the data either with a client script or on server side?
kind regards
Rolf
Rolf Schrittenlocher
Bibliotheksmanagementsystem IT | IT-Services (ITS)
Universit?tsbibliothek Johann Christian Senckenberg
Goethe-Universit?t Frankfurt | Campus Bockenheim
Zentralbibliothek | Freimannplatz 1
60325 Frankfurt am Main | GERMANY
Telefon Sammelnummer +49 (0)69 798 28830
Telefon pers?nlich +49 (0)69 798 28908
E-Mail: lbs-it at ub.uni-frankfurt.de
E-Mail (pers?nlich) r.schrittenlocher at ub.uni-frankfurt.de
Website: https://www.ub.uni-frankfurt.de
Von: Axel Beckert <abe at deuxchevaux.org> Gesendet: Donnerstag, 4. April 2024 10:17 An: Schrittenlocher, Rolf Cc: Xymon at xymon.com Betreff: Re: [Xymon] Monitoring network traffic
Hi Rolf,
Schrittenlocher, Rolf schrieb am Thu, Apr 04, 2024 at 07:45:58AM +0000:
Our challenge at moment is how to monitor traffic quantity in/out in order to detect suspicious activities on Solaris 10. Is there are way to do this with xymon?
Definitely. ;-)
For our own use (in a university, too :-) and published via Debian's hobbit-plugins package, I've written a plugin simply called "net" which can check many network interface characteristics including monitoring network traffic (calculating bytes/second average from the rx/tx difference of 10 seconds), but so far it's just for Linux and uses common Linux commandline tools and /proc/ links:
https://salsa.debian.org/debian/hobbit-plugins/-/blob/master/src/usr/lib/xym...
(It also uses the Hobbit.pm Perl module from the same package: https://salsa.debian.org/debian/hobbit-plugins/-/blob/master/src/usr/share/p...)
It though shouldn't be too hard to adapt it to some Solaris commandline tools and their output. I'm just not sure how to convert the /proc/ stuff. Maybe there's a Linux compat mode like in FreeBSD? (Haven't touched any Solaris for like 20 years or so, back when I was a student.)
Regards, Axel
-- PGP: 2FF9CD59612616B5 /~\ Plain Text Ribbon Campaign, http://arc.pasp.de/ Mail: abe at deuxchevaux.org \ / Gegen HTML in E-Mails und Usenet Mail+Jabber: abe at noone.org X https://axel.beckert.ch/ / \ I love long mails: https://email.is-not-s.ms/