Basicly just put together from Examples.
Sending data tu InfluxDB was little bit tricky using HTTPClient and POST method for InfluxDB.
if anyone is interested in open source mail server solution iRedMail and use MySQL as backend should now use my small cli script. Script has limited functions but it’s perfect for things like importing new domains or creating many email accounts.
Script is opensource and use some functions from original iredadmin web management. So you need iredadmin installed, which is default option.
Sometimes when you upgrade or migrate your linux from one disk to another, boot should hang out on line “grub rescue>“,
what now ?
First I’d like to introduce one very nice project called RackTables. It’s management system for DataCenters or rack rooms. I test many project like this but this one fits best for our needs. With this system you can document your network and infrastructure. Datacenters, rooms, rack rows, servers and their attributes, ipv4/ipv6 ranges, virtual resources, etc.
I work as System Specialist, many times it’s too much work and I forgot to document some changes which I made on server or infrastructure. When number of servers grows to hundreds this is a really big problem you must handle. Important is also to know, what was the change, not only actual state. So you must create log of changes.
I have created one small script which discover physical or virtual server and insert or update information into racktables database and ! it create LOG in RackTables. You see what was the previous state and when this change was made.
Script can handle various system and HW infromation and what is perfect, it do it automatically without any interaction.