[icinga-users] execute plugins with sudo

2016-08-22 Thread Jens . Wilke
Hi, how is it possible to execute plugins with sudo? while this works: nagios@vm1:~$ sudo -u postgres /usr/lib/nagios/plugins/check_postgres.pl --action txn-time -H 127.0.0.1 -c 60 -p 5432 -u postgres POSTGRES_TXN_TIME CRITICAL: DB "postgres" (host:127.0.0.1) longest txn: 9183s (2 hours 33 min

[icinga-users] Performance Data not properly displayed

2016-10-21 Thread Jens . Wilke
Hi, i do have issues with two checks. The performance Data are not properly displayed on the service tab. This does not affect pnp4nagios, which renders all of them properly. Stopping icinga and npcd, deleting the rrd and xml files and starting them again does not help. The plugin output is: OK