Solaris Auto-discovery sample script
The attached sample script(written in python) would run on a solaris based system, gather basic system information and upload the results to device42 appliance.
It needs python installed on a given system.
Lines 25 to 28 would need to be altered before running this.
It can be run from the shell as: python script-name.py or you can make it an executable and run it.
Feel free to modify to match your environment and let us know if you have issues/questions.
You can deploy this on multiple machines and schedule it to post data to device42 appliance regularly and keep your inventory information up-to-date.
UPDATE(10/24/2012): mac address zero fill added and ignoreDomain fixed.
Please sign in to leave a comment.