Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks, Mike
Hi Mike,
We don't automatically purge deleted ports because their information may be useful (for example, a failed linecard on a switch might remove 48 ports, but you might still want to retain the configuration information in observium).
Perhaps we could have a schedule where they are deleted when they are 30 days old?
adam.
On 2014-04-10 11:37, Teixeira, Mike wrote:
Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks,
Mike _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
30 days old would work for us. Also having the RRD information around is good to track the old usage information. Especially when dealing with cable and peering ports.
Some customers may want it longer, so it may be better to leave it up to the customer to script out. Would be fairly simple to do. Execute a MySQL select, based on deleted and lastChange. Then they can execute a php script, like delete_device.php but in this case purge_port.php, to delete it. Is there a purge_port.php type script? I couldn't find a file with the name purge in that looked like it purged a port.
Thanks, Mike
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, April 10, 2014 9:36 AM To: Observium Network Observation System Subject: Re: [Observium] Deleted status
Hi Mike,
We don't automatically purge deleted ports because their information may be useful (for example, a failed linecard on a switch might remove 48 ports, but you might still want to retain the configuration information in observium).
Perhaps we could have a schedule where they are deleted when they are 30 days old?
adam.
On 2014-04-10 11:37, Teixeira, Mike wrote:
Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks,
Mike _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
There is in the web UI, under the ports menu :
http://dev.observium.org/deleted-ports/
adam.
On 2014-04-10 11:47, Teixeira, Mike wrote:
30 days old would work for us. Also having the RRD information around is good to track the old usage information. Especially when dealing with cable and peering ports.
Some customers may want it longer, so it may be better to leave it up to the customer to script out. Would be fairly simple to do. Execute a MySQL select, based on deleted and lastChange. Then they can execute a php script, like delete_device.php but in this case purge_port.php, to delete it. Is there a purge_port.php type script? I couldn't find a file with the name purge in that looked like it purged a port.
Thanks, Mike
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, April 10, 2014 9:36 AM To: Observium Network Observation System Subject: Re: [Observium] Deleted status
Hi Mike,
We don't automatically purge deleted ports because their information may be useful (for example, a failed linecard on a switch might remove 48 ports, but you might still want to retain the configuration information in observium).
Perhaps we could have a schedule where they are deleted when they are 30 days old?
adam.
On 2014-04-10 11:37, Teixeira, Mike wrote: Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks,
Mike _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
demo, not dev :)
On 2014-04-10 13:01, Adam Armstrong wrote:
There is in the web UI, under the ports menu :
http://dev.observium.org/deleted-ports/
adam.
On 2014-04-10 11:47, Teixeira, Mike wrote: 30 days old would work for us. Also having the RRD information around is good to track the old usage information. Especially when dealing with cable and peering ports.
Some customers may want it longer, so it may be better to leave it up to the customer to script out. Would be fairly simple to do. Execute a MySQL select, based on deleted and lastChange. Then they can execute a php script, like delete_device.php but in this case purge_port.php, to delete it. Is there a purge_port.php type script? I couldn't find a file with the name purge in that looked like it purged a port.
Thanks, Mike
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, April 10, 2014 9:36 AM To: Observium Network Observation System Subject: Re: [Observium] Deleted status
Hi Mike,
We don't automatically purge deleted ports because their information may be useful (for example, a failed linecard on a switch might remove 48 ports, but you might still want to retain the configuration information in observium).
Perhaps we could have a schedule where they are deleted when they are 30 days old?
adam.
On 2014-04-10 11:37, Teixeira, Mike wrote: Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks,
Mike _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Ah Duh. I can just to a post command in my script for each port I want to delete.
Thanks, Mike
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, April 10, 2014 11:01 AM To: Observium Network Observation System Subject: Re: [Observium] Deleted status
There is in the web UI, under the ports menu :
http://dev.observium.org/deleted-ports/
adam.
On 2014-04-10 11:47, Teixeira, Mike wrote:
30 days old would work for us. Also having the RRD information around is good to track the old usage information. Especially when dealing with cable and peering ports.
Some customers may want it longer, so it may be better to leave it up to the customer to script out. Would be fairly simple to do. Execute a MySQL select, based on deleted and lastChange. Then they can execute a php script, like delete_device.php but in this case purge_port.php, to delete it. Is there a purge_port.php type script? I couldn't find a file with the name purge in that looked like it purged a port.
Thanks, Mike
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, April 10, 2014 9:36 AM To: Observium Network Observation System Subject: Re: [Observium] Deleted status
Hi Mike,
We don't automatically purge deleted ports because their information may be useful (for example, a failed linecard on a switch might remove 48 ports, but you might still want to retain the configuration information in observium).
Perhaps we could have a schedule where they are deleted when they are 30 days old?
adam.
On 2014-04-10 11:37, Teixeira, Mike wrote: Hello,
When we have ports in deleted status, is there an automagic process to purge those ports?
Thanks,
Mike _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Teixeira, Mike