I’m using 2.5.0p12.community and wanted to use my Databases just like my SAP systems: separate logical host, and data via piggyback.
This was very easy to implement: in the mk_sap_hana plugin, the functions query_instance(), get_sections() and get_empty_sections() need one additional line of code each.
Just above the line echo "<<<sap_hana_db_status:sep(59)>>>" I added another line: echo "<<<<HANA-${sid}>>>>". This puts the following output into a piggyback section. Then I can create a host “without IP” that gets data only via piggyback and has the name “HANA-” and the database’s SID.
This is a nice to have feature when you have Database hosts running with 8 databases and you do not want to get bad eyes when searching for corresponding data
.