I’m pretty new to icinga and monitoring at all, please be patient with me.
I hope this is the correct category for this problem/question.
I’ve come across an issue where I can’t find ressources to guide me towards a solution.
The problem I run into is that if I run checks via icinga server on a remote host, the results are as expected. BUT it doesn’t show the results on the icingaweb2 page, i.e. either it shows a standard “OK” or “UNKNOWN” state, even though the check returns “Critical” or whatever.
Further it’s not on every host that’s running the mentioned checks, which complicates the issue even more.
The even more fun part of this issue is, that there is an old deprecated icingaweb2 server which shows the results perfectly.
The command run via icinga server and it’s result which should also be viewable on icingaweb:
usr@icinga: /usr/lib/nagios/plugins/check_nrpe -H x.x.x.x -c check_service_xyz Service XYZ is Running! . . . . . . . . . . . . . . . . . . . . . . . . . . . Resource Resource State -------- -------------- Service XYZ Running
On another check, there should be a critical result, but on icingaweb the status is “OK” and the result is shown as:
I (0.4.4.19 2015-12-08) seem to be doing fine...
Things that may help to circle the problem:
Since it’s an custom check I modified the output to return the nrpe arguments, but icingaweb only shows empty variables i.e. “$”, on the deprecated icingaweb or when run from shell it shows the arguments as expected.
That seemed really odd to me and I can’t put my finger on it why that happens
Any guesses why that happens?
I’m thankfull for every hint, because this issue is driving me nuts.
Thank you all and kind regards,