Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
5 events
when toggle format what by license comment
Feb 15, 2024 at 19:06 vote accept Yousuf
Dec 17, 2023 at 22:27 comment added Yousuf Apologies for the delay. I made some adjustments to the script: Initially, the script requested to add a section. I included "Section" in the task details, but the Zabbix agent configuration file doesn't contain a section. The output now displays as follows. Moreover, investory_hostname is printing only local IP address and not hostname any idea will be very of great help. now the output is like [General] Server: zabbix.example.com ServerActive: zabbix.example.com hostname : 192.168.x.x So how can i deal with Section when there is no section in the file and IP to hostname
Dec 14, 2023 at 17:00 answer added U880D timeline score: 2
Dec 14, 2023 at 6:40 comment added Gerald Schneider Did you try the suggestion? (replacing the single quotes ' surrounding your variable with double quotes "')
Dec 13, 2023 at 17:06 history asked Yousuf CC BY-SA 4.0