Nagios Service missing information

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cdcrawford
Posts: 13
Joined: Tue Oct 29, 2019 11:54 am

Nagios Service missing information

Post by cdcrawford »

Good afternoon,

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=6067
The output in NagiosXI is as follows:

Code: Select all

OK - Total Users:  | totalUsers=
The chunk of code that makes this is:

Code: Select all

totalUsers="$(grep -w $string dumpMUSort.csv -c)"
output="OK - Total Users: $totalUsers"
perfData=" | totalUsers=$totalUsers"
[...]
echo "${output}${perfData}"
I'm using bash to generate this information. Anyone know why this is?

Thanks so much!
cdcrawford
Posts: 13
Joined: Tue Oct 29, 2019 11:54 am

Re: Nagios Service missing information

Post by cdcrawford »

Close it out.

I was calling a file without giving it the path.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Service missing information

Post by benjaminsmith »

Hello @cdcrawford,
Close it out.
I was calling a file without giving it the path
Thanks for the update and glad to hear it's been solved.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked