cacti icon indicating copy to clipboard operation
cacti copied to clipboard

Add diagnostic tools to device view

Open bmfmancini opened this issue 6 years ago • 3 comments

I think it would be cool to add some diagnostic tools for troubleshooting devices while in cacti instead of having to go direct to the server

The scenario would be you have a device you want to monitor via ping and its not responding you may want to run a traceroute to see if there is a network issue

another Scenario you have a device you want to monitor and you have entered the domain name but it's not responding so you might want to do a nslookup to be sure it's resolving properly

another scenario would be you want to monitor a open tcp port cacti reports the port as not reachable you may want to run a nmap against the ip/host to verify

The idea would be to have a couple of breadcrumb icons in the device view where you could click to get the results of said tests

Thanks !

bmfmancini avatar May 23 '19 14:05 bmfmancini

Probably best way of looking at things like this is via a plug-in but things like traceroute requires root which is due to the socket access

netniV avatar May 23 '19 14:05 netniV

Ok cool I will start hacking away and see what I can come up with

Thanks for the input!

bmfmancini avatar May 23 '19 14:05 bmfmancini

Traceroute in a modern Linux does not require setuid or root. So, having a 'traceroute' callback should be pretty strait forward on Linux anyway. Windows is pretty slow, or was anyway the last time I ran it.

cigamit avatar May 24 '19 01:05 cigamit

It's still dirt slow in Windoz.

TheWitness avatar Oct 17 '22 01:10 TheWitness