Hi
- On Icinga server, when I’,m using command:
/usr/lib64/nagios/plugins/check_oracle_health --mode=connection-time --connect=/@*
I received correct response:
- According to this topic: Check_oracle_health - Icinga 2 - Icinga Community
I set variables in /etc/sysconfig/icinga2
- On Icinga Web I received error:
- According to one of the topic i try to run:
sudo -u icinga /usr/lib64/nagios/plugins/check_oracle_health --mode=connection-time --connect=/@*
and than I received error:
But when I login on the server using icinga user, and run:
/usr/lib64/nagios/plugins/check_oracle_health --mode=connection-time --connect=/@*
It’s work correctly. Could someone give any advise where i made mistake?
[EDIT]
In oracle_health config preview I can see wrong data. They are only as a example or, they should be eq. to data from /etc/sysconfig/icinga2 ?