Forum Discussion

thethird78's avatar
thethird78
Icon for Neophyte rankNeophyte
2 months ago
Solved

Reset system.sysinfo that is incorrect

I inherited maintenance of our LogicMonitor instance.

There is a vCenter instance that has been there for ages that has system.sysinfo set to Microsoft Windows.  This causes other things to have issues, like default monitors, and other AppliesTo functions like isWindows() to be incorrect.

Is there a way to reset the system.sysinfo?  I have tried active discovery many times already.

  • Sounds like a Windows vCenter install was migrated to vCenter appliance and the device wasn't redone in LM. The "proper" solution would be to remove the existing device and re-add it properly. Or "break" the existing device (change ip/dns and disable collecting) so you don't lose past performance data, before adding a new one.

    If you don't want to do that, I believe there is a trick using the !hostproperty debug property to manual set the property. But that is something I would suggest working with LM support on do or atleast experimenting with a test device.

  • Sounds like a Windows vCenter install was migrated to vCenter appliance and the device wasn't redone in LM. The "proper" solution would be to remove the existing device and re-add it properly. Or "break" the existing device (change ip/dns and disable collecting) so you don't lose past performance data, before adding a new one.

    If you don't want to do that, I believe there is a trick using the !hostproperty debug property to manual set the property. But that is something I would suggest working with LM support on do or atleast experimenting with a test device.

    • Mike_Moniz's avatar
      Mike_Moniz
      Icon for Professor rankProfessor

      If that does work for you, I would be interested in what you specially used/changed. I think this is an issue other may run into.

      • thethird78's avatar
        thethird78
        Icon for Neophyte rankNeophyte

        I compared that vCenter device with another vCenter device that was correct and deleted the system.model system.sysinfo system.sysname and system.systemtype properties using that !hostproperty command in debug from the collector managing that device.  I think there were a few more properties not on the correct vCenter, but those 4 were the only ones I deleted.