Are there bash scripts for server auto-discovery?

I'm trying to make autodiscavery script allows to gather information about server like hardware, network and services is installed there.
Are there any other public scripts I can get sources from?

do you have looked for snmp?