Monitoring XI from Core using check_nagiosxiserver.php
Monitoring XI from Core using check_nagiosxiserver.php
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
Re: Monitoring XI from Core using check_nagiosxiserver.php
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
http://exchange.nagios.org/index.php?op ... kend%20api