
Hi,
according to http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter

Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas a.oberreiter@nadlinger.at wrote:
Hi,
according to http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
<CustomOID.PNG>_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

You can only delete if it's not autodiscovering. :)
adam.
Adam Armstrong CEO & Lead Architect Observium Limited On 2017-11-07 17:01:13, Simon Mousey Smith simonsmith5521@gmail.com wrote: Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas wrote:
Hi,
according to http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
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

Thank‘s for your Reply,
as far as I remember initially there was no auto discover for Custom OID’s. So I deactivated auto discovery but no change in the User interface. So I tried to create a new Custom OID but there is also no delete button. (see Attachment)
Regards
Andreas
Von: observium [mailto:observium-bounces@observium.org] Im Auftrag von Adam Armstrong Gesendet: Dienstag, 7. November 2017 22:10 An: observium@observium.org Betreff: Re: [Observium] Delete an associated Device from an Custom OID
You can only delete if it's not autodiscovering. :)
adam.
Adam Armstrong
CEO & Lead Architect
Observium Limited
On 2017-11-07 17:01:13, Simon Mousey Smith <simonsmith5521@gmail.com mailto:simonsmith5521@gmail.com > wrote:
Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas wrote:
Hi,
according to http://docs.observium.org/customoid/ http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org mailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi,
Same here, the discovery is set to OFF, but no delete option?
Any idea Adam?
Regards
Simon
On 8 Nov 2017, at 07:55, Oberreiter Andreas a.oberreiter@nadlinger.at wrote:
Thank‘s for your Reply,
as far as I remember initially there was no auto discover for Custom OID’s. So I deactivated auto discovery but no change in the User interface. So I tried to create a new Custom OID but there is also no delete button. (see Attachment)
Regards Andreas
Von: observium [mailto:observium-bounces@observium.org mailto:observium-bounces@observium.org] Im Auftrag von Adam Armstrong Gesendet: Dienstag, 7. November 2017 22:10 An: observium@observium.org mailto:observium@observium.org Betreff: Re: [Observium] Delete an associated Device from an Custom OID
You can only delete if it's not autodiscovering. :)
adam.
Adam Armstrong CEO & Lead Architect Observium Limited On 2017-11-07 17:01:13, Simon Mousey Smith <simonsmith5521@gmail.com mailto:simonsmith5521@gmail.com> wrote:
Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas wrote:
Hi,
according to http://docs.observium.org/customoid/ http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org mailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
<AutoDiscoveryOff.PNG>_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi,
Ok think I found the problem in the code
oid_entry.inc.php - line 189 - if (isset($cols['actions'])) {
It appears $cols is not defined ANYWHERE inside the print_oid_table function
Any ideas what it should be? wonderful observium developers :)
Regards
Simon
On 8 Nov 2017, at 10:00, Simon Mousey Smith simonsmith5521@gmail.com wrote:
Hi,
Same here, the discovery is set to OFF, but no delete option?
Any idea Adam?
Regards
Simon
On 8 Nov 2017, at 07:55, Oberreiter Andreas <a.oberreiter@nadlinger.at mailto:a.oberreiter@nadlinger.at> wrote:
Thank‘s for your Reply,
as far as I remember initially there was no auto discover for Custom OID’s. So I deactivated auto discovery but no change in the User interface. So I tried to create a new Custom OID but there is also no delete button. (see Attachment)
Regards Andreas
Von: observium [mailto:observium-bounces@observium.org mailto:observium-bounces@observium.org] Im Auftrag von Adam Armstrong Gesendet: Dienstag, 7. November 2017 22:10 An: observium@observium.org mailto:observium@observium.org Betreff: Re: [Observium] Delete an associated Device from an Custom OID
You can only delete if it's not autodiscovering. :)
adam.
Adam Armstrong CEO & Lead Architect Observium Limited On 2017-11-07 17:01:13, Simon Mousey Smith <simonsmith5521@gmail.com mailto:simonsmith5521@gmail.com> wrote:
Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas wrote:
Hi,
according to http://docs.observium.org/customoid/ http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org mailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
<AutoDiscoveryOff.PNG>_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

FOUND IT!!!
Commit r8828 - file oid_custom.inc.php
It appears somebody moved a load of code into a separate function called print_oid_table_header
And sadly the are variables in that function that are needed by print_oid_table function
If you move the code back out of the function and into the original function, you get the delete buttons which all work too :)
Hope this helps and can be committed!
Regards
Simon - Hestor Ltd
On 8 Nov 2017, at 07:55, Oberreiter Andreas a.oberreiter@nadlinger.at wrote:
Thank‘s for your Reply,
as far as I remember initially there was no auto discover for Custom OID’s. So I deactivated auto discovery but no change in the User interface. So I tried to create a new Custom OID but there is also no delete button. (see Attachment)
Regards Andreas
Von: observium [mailto:observium-bounces@observium.org mailto:observium-bounces@observium.org] Im Auftrag von Adam Armstrong Gesendet: Dienstag, 7. November 2017 22:10 An: observium@observium.org mailto:observium@observium.org Betreff: Re: [Observium] Delete an associated Device from an Custom OID
You can only delete if it's not autodiscovering. :)
adam.
Adam Armstrong CEO & Lead Architect Observium Limited On 2017-11-07 17:01:13, Simon Mousey Smith <simonsmith5521@gmail.com mailto:simonsmith5521@gmail.com> wrote:
Hi,
Same here
I has a custom rod for a mikrotik switch and I forgot to untick the 'auto-discover' and now the oid is linked to all 10 switches instead of just the one I wanted haha
Regards
Simon
On 7 Nov 2017, at 16:32, Oberreiter Andreas wrote:
Hi,
according to http://docs.observium.org/customoid/ http://docs.observium.org/customoid/ there should be a delete button next to associated devices in the Custom OID List. This is not the case on my system. Am I missing something? Is there another way to delete an association?
My Observium Version 17.10.8930
Kind regards Andreas Oberreiter
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org mailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
<AutoDiscoveryOff.PNG>_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Oberreiter Andreas
-
Simon Mousey Smith