I have a nagiosXI service that is missing information.
The CLI output when I run it under my username is as follows:
Code: Select all
OK - Total Users: 6067 | totalUsers=6067Code: Select all
OK - Total Users: | totalUsers=Code: Select all
totalUsers="$(grep -w $string dumpMUSort.csv -c)"
output="OK - Total Users: $totalUsers"
perfData=" | totalUsers=$totalUsers"
[...]
echo "${output}${perfData}"Thanks so much!