Monitoring xi from Core using check_nagiosxiserver.php

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Monitoring xi from Core using check_nagiosxiserver.php

Post by hhlodge »

I already have a Core installation from before we installed xi and it's still in use, primarily now just to watch xi via check_alive. I just saw the xi monitoring wizard but don't want to set up another xi instance just for that. Can I run this plugin from Core? The PHP code runs, but I don't know the values it wants, namely why there's a --username option but none for password and what the value for "--ticket=" should be.
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Monitoring xi from Core using check_nagiosxiserver.php

Post by mguthrie »

The backend ticket can be accessed in the postgres database, it's one of the entries in the xi_users table. It's just a hash that's generated when a user is created or updates their credentials. I haven't tried running that check from a Core server, but it may require some of the xi includes. Another thing to look into would be a simple check against the backend API url, which can give you the system status.

http://exchange.nagios.org/index.php?op ... kend%20api