On Do, 2015-08-06 at 16:19 +0200, James Pharaoh wrote: > I'm trying to work out how to check an Icinga2 instance is running > correctly, from a completely separate cluster which is not connected > via > any zone relationship. > > Basically, I'd like to connect to the instance being monitoring via > its > API port, and interrogate it for some kind of status information. > > I've looked around for a plugin which implements this but can't find > one. I also can't find any detailed information about the protocol > with > which to implement the plugin myself. > > Can someone please point me at any tool which might already exist, or > let me know how I might be able to implement this?
Since the API feature will first be introduced with 2.4 your best catch is the IDO database to look for status information. Locally there is /var/lib/icinga2/icinga2.state in JSON format. Cheers Markus Frosch -- mar...@lazyfrosch.de http://www.lazyfrosch.de
signature.asc
Description: This is a digitally signed message part
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users