Get status using MKlivestatus for multiple appplications

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
raulpe
Posts: 28
Joined: Mon Nov 25, 2013 10:44 am

Get status using MKlivestatus for multiple appplications

Post by raulpe »

Hello,

I have a question about MKlivestatus broker module for Nagios. I have Nagvis installed which is using the 'live' socket to get status information and I can use the command line to get information form Nagios through this socket, but is it possible to have another application connect and use this same socket without breaking Nagvis? In other words, can this socket/broker be shared among applications? If not, can I just create another file socket with a different name by loading the same livestatus.o module in the nagios.cfg file?

I know this question is related to things other than Nagios itself but if anyone has any information about this I would greatly appreciate it.

Thanks.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Get status using MKlivestatus for multiple appplications

Post by abrist »

raulpe wrote:In other words, can this socket/broker be shared among applications?
Yes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked