/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


advanced search based on default gateway?

05/05/2016 678 views
Is there a way to search K1000 inventory based on the computer's default gateway? We have a site that has multiple gateways, and one of them can cause a problem if if it set as default so I need to be able to search based on that. 

So is that possible? Or is the default gateway even recorded by the agent/inventory? 
Answer Summary:
1 Comment   [ + ] Show comment

Comments

  • Powershell command gives nicer output

    (gwmi -class win32_NetworkAdapterConfiguration).DefaultIPGateway

Answer Chosen by the Author

0
go to Inventory-Software-Choose Action-New



As the machines inventory you will find the info under each machine detail-Custom Inventory Fields



You can then create a report on that custom inventory item to find the machines with the bad gateway or list them all


.




Note: there is a bug in the reporter that is putting the "  in I opened a bug report on this

Answered 05/06/2016 by: SMal.tmcc
Red Belt

  • You rock! Thanks!

    As to the bug, for this it got me what I needed. I can filter the garbage out with find/replace in excel.

All Answers

2
create a software CIR for that

ShellCommandTextReturn(wmic nicconfig get defaultipgateway)
Answered 05/05/2016 by: SMal.tmcc
Red Belt

  • Can I have that in english, please? ;) Whats a software CIR?
    • http://www.itninja.com/blog/view/kace-custom-inventory-rules-101
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ