Search found 1 match
- Tue May 18, 2021 6:15 pm
- Forum: Open Source Nagios Projects
- Topic: return variables do not appear in web script bash nagios
- Replies: 0
- Views: 14795
return variables do not appear in web script bash nagios
I have made a small script that takes values from a server, evaluates them and should show them on the nagios website. but it does not report the variables. The script is: #!/bin/bash dat=$(/usr/bin/curl -s http://$1/cgi-bin/Harm.cgi?slot=1|grep -i dbm|awk -v FS="(<Val>|</Val>)" '{print ...