nagios-api icon indicating copy to clipboard operation
nagios-api copied to clipboard

Nagios4

Open deathstone opened this issue 10 years ago • 2 comments

It is possible to use "NAGIOS-API" with Nagios 4 ?? The connection is done well, but no return of the check. thank you

deathstone avatar Nov 27 '14 14:11 deathstone

@deathstone, it works for me, you just to make sure you give it the right path to the cmd file and dat file. Use locate to find the absolute path to your nagios.cmd and status.dat -- for me they are /usr/local/nagios/var/rw/nagios.cmd and /usr/local/nagios/var/status.dat

xzhai1 avatar Jun 06 '15 19:06 xzhai1

For me it's not working with NagiOS 4:

root@localhost:~/nagios-api# ./nagios-api -c /usr/local/nagios/var/rw/nagios.cm d -s /usr/local/nagios/var/status.dat File "./nagios-api", line 1021 except ValueError,e: ^

tnniras avatar May 12 '23 08:05 tnniras