Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Darkstat Plug-in

Featured Replies

I'm releasing a little plug-in for unraid. Darkstat is an application very much like bwm-ng, in that it analyzes network traffic. Darkstat graphs the traffic, lists traffic by hosts(including host lookup), and does this in the background taking up a very small footprint. Included is a built-in web-server so the information can be monitored from any PC by simply going to

 

//tower:667

The port can be changed, and obviously replace tower with your servers name.

 

It runs a little slow, which I believe is the version of libpcap that I'm using. I'm looking into compiling a different version as speed increases have been reported. For now though, this is a "proof of concept" and if there is interest from the community, I will continue development, :)

 

Get it from Mine & WW's github, or download directly HERE! (right click - save link as)

 

EDIT: This plug-in apparently has the bug where you have to manually refresh when starting the plug-in, it starts fine, just the page never finishes loading(the plug-in settings page).

 

Not sure why this is, can't seem to track it down

thanks for the plugin first of all, i get an error when try to install(see attachment)

i did not reboot the box (don't wanna) i only tried manual install 5.0rc3

 

thanks

 

..as usual reboot fixed all  ... left post here in case anybody else has same error

error.JPG.bf514d3390f560052487dc4997d90d0d.JPG

Its a "very strange" way to DL file from there site  ;)

 

But if you click on ZIP then you can extract what plugin you like, works for me, but to just click on the plugin from the list don't work.

 

//Peter

  • Author

No, in order to download a file from the site you must click on the file to bring up the code, then right click on "RAW"(top right) and save link as... Definitely odd.

 

You should be able to right click on the link in the first post and do the same, its linked to the "RAW" file.

 

Your welcome for the plug-in, hope it proves useful

Cool plugin. Does run a little slow but I'm real glad there are more and more plugins and how easy it is to install. Thanks very much for the support!

 

 

  • Author

From what I read its the libpcap causing it to run slow. Apparently version 0.8.8 runs smoothly, whilst versions 1.0.0 and above lag some. The version I'm using I found pre-compiled, so I went with it for now, but as I said previously, I will look into compiling another version... That is, maybe I can find a nice unRAID user with a full slack install that is willing to compile version 0.8.8 for me,  :-*

 

I'm also glad there are more plug-ins coming out, if anyone has an idea for one I'm always open for suggestions. Whether I'll be able to do what is suggested remains to be seen, but I'm always open to the suggestions.

 

If you edit your hosts file darkstat will read it to fill in the hosts as well.

  • Author

A bug I found myself, posting so others are aware. For some reason darkstat shuts down after a certain period, not sure if its the app or unraid causing it. I'll look into it and see if I can find a reason why its happening

  • 2 weeks later...

How does one enable the "Asynchronous reverse DNS resolution using a child process"?

  • Author

It is enabled by default, it takes a little bit to get the data.

 

The bug I spoke of still exists, talking to the creator trying to figure why it kills itself

 

Sent from my HTC Vivid

Thanks.  I think I'm starting to get some good data now.  It would be awesome if you were to put the 5 tuple in the hosts table.

(TCP/IP, local IP-addr, local TCP-port, foreign IP-addr, foreign TCP-port). I can live with out the local port but foreign or destination port would be very helpful.

 

Thanks again

  • Author

I don't believe darkstat has that ability, I'll message the author to make sure, and suggest it if not, :)

have you ever looked at Munin - http://munin-monitoring.org/

 

I have it on my Asterisk box - monitors just about everything and anything....

 

Myk

 

  • Author

I'll look into it, haven't as of yet though

 

Sent from my HTC Vivid

I can't see how Darkstat couldn't place the destination port in the hosts table. It's one more column. The ports show up when you drill down on the hostname/ip. I'm not a coder so I'm only theorizing.

 

Thanks for taking a look.

 

I'll check out the other packages too.

  • Author

I have no doubts it could, but the functionality is not implemented. I've messaged the author to see if its possible for him to add it.

  • Author

UPDATE:

 

I've spoke to Darkstat's author, and according to him it is definitely possible to add the 5 tuple to the table, and he will look into adding it as soon as he has the free time to do so.

have you ever looked at Munin - http://munin-monitoring.org/

 

I have it on my Asterisk box - monitors just about everything and anything....

 

Myk

 

this looks very nice, my concern with all this monitoring plugs etc do they write to the flash or is it all in memory ?

worried about the life cycle of my flash then

 

  • Author

I can't speak for the one MyKroft suggested but darkstat does not write to flash

 

Sent from my HTC Vivid

Thanks for passing this along to the author.

V/R

  • 2 months later...

I ran the darkstat plugin you created and it works. However, it takes like 10-15 minutes for the page to come up. I suspect this is what people are remarking on in terms of performance. I downloaded the latest version from here:

 

http://unix4lyfe.org/darkstat/

 

and was able to get it running without any issues from the command line. However, the speed issues are still very much an issue. Has anyone tried updating lipcap? I would give it a shot but am such a linux novice that I would probably break my server...

  • Author

I am still waiting to finish setting up my XBMX mini-itx build, once I get it done I'm converting my current HTPC to a test unraid server on a full slackware build so I can update these packages. It does take quite a while, doesn't take that long for it to come up for me but still longer than I would like.

 

Its taking me so long to get my XBMC build up and running because I'm waiting for my CEC adapter so its as seemless of a transition as possible(a semi-technology illiterate wife + a 5 year old). I'll try to work on this more as soon as I can!

I am still waiting to finish setting up my XBMX mini-itx build, once I get it done I'm converting my current HTPC to a test unraid server on a full slackware build so I can update these packages. It does take quite a while, doesn't take that long for it to come up for me but still longer than I would like.

 

Its taking me so long to get my XBMC build up and running because I'm waiting for my CEC adapter so its as seemless of a transition as possible(a semi-technology illiterate wife + a 5 year old). I'll try to work on this more as soon as I can!

 

I bought the CEC adapter. Never ended up using it. I ended up going with http control via iRule on ipad/iphone/ipod. Works like a champ and there always seems to be a remote lying around within reach! My 5 year old can figure it out...

  • Author

If you want to sell it at a discounted rate I might be interested,  :o;D

 

I use the XBMC Remote app for my android phone, and my wife has it on her tablet and phone as well, but with 2 kids and 2 dogs, I don't think they'd last too long!

Influencer, if you have an LG TV then it isn't worth it im afraid. I can send you one if you need..

Influencer, if you have an LG TV then it isn't worth it im afraid. I can send you one if you need..

 

I have a Sumsung and couldn't get it working...but yeah...I'll send it if you want it...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.