-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenWRT netstat -s command not present #14
Comments
Using
I tested above on OpenWRT. Old code seems to be bit faster so maybe do it like this:
"Runtime config" needs some patching too:
Maybe simple "-s" to "-h" would work here? Do you want to write a pull request for these? |
Hi @kimheino The problem I have now its to determine hot to catalogue the results based on normal munin graph titles or whether create new graphs alltogether. I rekon the first method would allow more flexibility for non dd-wrt based systems From the netstat I can only see so much information and I find difficult to determine active from passive and failed from resets
The difference from active and passive is whom is starting the process which cannot be identified by this netstat module for openWRT?? If we can establish these parameters I can definitely create/test this procedure and send a pull request |
I tested this on few systems. Normal
|
…ectly This allows the plugin to work under OpenWRT as the busybox netstat does not support `netstat -s`. Fixes: munin-monitoring#14 Signed-off-by: Rany Hany <[email protected]>
This allows the plugin to work under OpenWRT as the busybox netstat does not support `netstat -s`. Fixes: munin-monitoring#14 Signed-off-by: Rany Hany <[email protected]>
This allows the plugin to work under OpenWRT as the busybox netstat does not support `netstat -s`. Fixes: munin-monitoring#14 Signed-off-by: Rany Hany <[email protected]>
This allows the plugin to work under OpenWRT as the busybox netstat does not support `netstat -s`. Fixes: munin-monitoring#14 Signed-off-by: Rany Hany <[email protected]>
This allows the plugin to work under OpenWRT as the busybox netstat does not support `netstat -s`. Fixes: munin-monitoring#14 Signed-off-by: Rany Hany <[email protected]>
As muninlite doesn't appear to have had a release in a few years and activity on the git repo appears to have stalled, we add some patches on our end for now. Patches: - 001->004 are upstream fixes from master. - 100 is a submitted PR: munin-monitoring/muninlite#19 to fix munin-monitoring/muninlite#14. - 200->204 is a submitted PR to allow customizing the monitored network interfaces: munin-monitoring/muninlite#18. Despite the large number of patches it is actually a trivial change. Signed-off-by: Rany Hany <[email protected]>
As muninlite doesn't appear to have had a release in a few years and activity on the git repo appears to have stalled, we add some patches on our end for now. Patches: - 001->004 are upstream fixes from master. - 100 is a submitted PR: munin-monitoring/muninlite#19 to fix munin-monitoring/muninlite#14. - 200->204 is a submitted PR to allow customizing the monitored network interfaces: munin-monitoring/muninlite#18. Despite the large number of patches it is actually a trivial change. Signed-off-by: Rany Hany <[email protected]>
Hi All,
please note that muninlite currently doesn't pickup netstat values due to the fact the command netstat -s is in fact not available in OpenWRT natively.
muninlite code
My solution to resolve this problem would be to utilize instead the following grep + wc command as per below example.
I know this is not the cleanest or quickest solution but just wanted to get the ball rolling on this issue :)
The text was updated successfully, but these errors were encountered: