Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MRTG monitoring UDP connections
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Wed May 19, 2010 7:58 pm    Post subject: MRTG monitoring UDP connections Reply with quote

I have a server at home, running a bunch of stuff and to monitor everything,
I'm running mrtg on cpu, mem, swap, network traffic etc ...

The thing that I'm missing really is for mrtg to graph open UDP connection.
I've google'd and stuff, but I cant really find a helpful guide to do that.

I'm no ace on snmp either, so I think I need help.


Does anyone know a good guide for this, or maybe even a complete .cfg ?

If helpful, this is the one I'm using for TCP connections ...
Code:

WorkDir: /var/www/localhost/htdocs/mrtg
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Target[localhost.tcpopen]: .1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.9.0:public@localhost
#Xsize[localhost.tcpopen]: 600
#Ysize[localhost.tcpopen]: 200
#Ytics[localhost.tcpopen]: 10
Options[localhost.tcpopen]: growright,nopercent,gauge,noinfo
Title[localhost.tcpopen]: Open TCP connections
PageTop[localhost.tcpopen]: <h1>Open TCP connections</h1>
MaxBytes[localhost.tcpopen]: 1000000
#Background[localhost.tcpopen]: #738AA6
YLegend[localhost.tcpopen]: # conns
ShortLegend[localhost.tcpopen]: &nbsp;
LegendI[localhost.tcpopen]: &nbsp;Connections:&nbsp;
LegendO[localhost.tcpopen]:
Legend1[localhost.tcpopen]: Open TCP connections


Thankful for any help
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Wed May 19, 2010 11:20 pm    Post subject: Reply with quote

Why not IP-tables or a hardware firewall, like Cisco router or a Smoothwall. Cisco systems is pricey, but a Smoothwall you can take an old computer for around 50$ and turn it into a firewall easy, and the Smoothwall software is open source and uses Oink as it's monitor. Just saying if you're running a server, you might want to think of something more secure! In the end IP-tables can monitor all that and then some.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Thu May 20, 2010 6:19 am    Post subject: Reply with quote

Well .. this server, acts as my router/firewall for my local lan also.
So I'm not to fond of the idéa of having another box running,
just for this matter of UDP graphing.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 927

PostPosted: Wed May 26, 2010 11:05 pm    Post subject: Reply with quote

I would say "open UDP connection" is a contradiction in terms. UDP is a stateless protocol, so there are no
open connections by definition. You may be able to monitor udp traffic, or certain aspects of it, through
UDP-MIB. snmpwalk your device to check whether UDP-MIB is enabled.
Back to top
View user's profile Send private message
Velociter
n00b
n00b


Joined: 26 Mar 2015
Posts: 1

PostPosted: Thu Mar 26, 2015 11:09 pm    Post subject: Reply with quote

Would you know how to graph jitter and latency in MRTG? Running Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum