Nagios Service missing information
Posted: Mon Jan 27, 2020 12:08 pm
Good afternoon,
I have a nagiosXI service that is missing information.
The CLI output when I run it under my username is as follows:
The output in NagiosXI is as follows:
The chunk of code that makes this is:
I'm using bash to generate this information. Anyone know why this is?
Thanks so much!
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!