This issue only exists for at most 5 minutes immediately after the nrpe relation is formed. A conjob is setup ( /etc/cron.d/rabbitmq-stats ) which in turn calls /usr/local/bin/collect_rabbitmq_stats.sh . collect_rabbitmq_stats.sh creates the directories and sets their permissions.
The check is designed like this to avoid escalating the permissions of the nagios user.
This issue only exists for at most 5 minutes immediately after the nrpe relation is formed. A conjob is setup ( /etc/cron. d/rabbitmq- stats ) which in turn calls /usr/local/ bin/collect_ rabbitmq_ stats.sh . collect_ rabbitmq_ stats.sh creates the directories and sets their permissions.
The check is designed like this to avoid escalating the permissions of the nagios user.