It's nice to have a "Days Inactive" column to see how long the port has been offline. It would also be nice to have a "Days Active" column to see how long the port has been online.
Good idea. I could merge the "Days Inactive" column into the "State" column. The combined column would have cells that said, like, "Inactive for 101 days" or "Active for 52 days".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-02-23
That would be fantastic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-02-23
That would be fantastic.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One thing to keep in mind is that if you run the scan for the port state every half hour, it will be great for discovering how long a port has not been (seriously) used. Someone just plugging in a laptop to a couple of ports to check if they 'have network' is unlikely to trigger the 'unused' counter to reset. If someone works for more than half an hour on a port (or shorter, but crossing the 'scanning time'), it will be 'seen' and be reset to 0 days unused, so you know it can't be scavenged. This is clear and gives useful information.
On the opposite, if someone does use the port for 12 hours per day, whenever they are /not/ using it (e.g. at night, or over the weekend), the port will be seen as 'unused' (for 0 days), and the next time it is seen to be used will be set to 'used' (for 0 days) again. Of course, people might still have a use for the raw information, e.g. to see how long something illegally installed has at least been connected, but I'd think that most people would expect the counter to do something smarter, like 'show 'used' if used for at least x hours over the last y days' or 'only reset 'used days' to 0 if unused counter reaches more than x days' or 'just subtract any unused days from used days and show me a positive result as used, negative as unused' or 'Keep all the state transitions (UP,DOWN,DISABLED,ERROR-DISABLED,UNKNOWN etc.) of the ports and a timestamp in a table, and use that to generate a usage overview over the last $UnusedAfter days in the form of a graph or drill-down table'. Everyone will want something else.
It might be easier to use something else than switchmap to generate these kind of usage data from the data, e.g. by having cacti graph the interface state...
PCL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good idea. I could merge the "Days Inactive" column into the "State" column. The combined column would have cells that said, like, "Inactive for 101 days" or "Active for 52 days".
That would be fantastic.
That would be fantastic.
One thing to keep in mind is that if you run the scan for the port state every half hour, it will be great for discovering how long a port has not been (seriously) used. Someone just plugging in a laptop to a couple of ports to check if they 'have network' is unlikely to trigger the 'unused' counter to reset. If someone works for more than half an hour on a port (or shorter, but crossing the 'scanning time'), it will be 'seen' and be reset to 0 days unused, so you know it can't be scavenged. This is clear and gives useful information.
On the opposite, if someone does use the port for 12 hours per day, whenever they are /not/ using it (e.g. at night, or over the weekend), the port will be seen as 'unused' (for 0 days), and the next time it is seen to be used will be set to 'used' (for 0 days) again. Of course, people might still have a use for the raw information, e.g. to see how long something illegally installed has at least been connected, but I'd think that most people would expect the counter to do something smarter, like 'show 'used' if used for at least x hours over the last y days' or 'only reset 'used days' to 0 if unused counter reaches more than x days' or 'just subtract any unused days from used days and show me a positive result as used, negative as unused' or 'Keep all the state transitions (UP,DOWN,DISABLED,ERROR-DISABLED,UNKNOWN etc.) of the ports and a timestamp in a table, and use that to generate a usage overview over the last $UnusedAfter days in the form of a graph or drill-down table'. Everyone will want something else.
It might be easier to use something else than switchmap to generate these kind of usage data from the data, e.g. by having cacti graph the interface state...
PCL