[racktables-users] Re: Attributes question

  • From: Raphaël Hoareau <rap.hoareau@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 1 Apr 2014 10:25:03 +0200

Hi,

Using MySQL, you can check what object is using that attribute :
OEM S/N 1 : select object_id from AttributeValue where attr_id = 1 ;
OEM S/N 2 : select object_id from AttributeValue where attr_id = 20 ;

If you have any "object_id" return, then check :
To get the name : select name from RackObject where id="$object_id" ;

Regards,

Raphaël HOAREAU.


2014-03-31 18:52 GMT+02:00 Bielski, Eric <EBielski@xxxxxxxxxxxxxxxxxx>:

>  I have cleared every entry with an "OEM S/N" and now I am trying to
> remove the attribute from the attribute map.  It shows that there is a
> network switch still utilizing the field so it will not let me delete it.
> I have looked through every network switch and there are not any devices
> with an entry in "OEM S/N".  Am I missing something?  Is there another
> place where I should be checking for entries?
>
>
>
> Thanks!
>
> Eric
>

Other related posts: