Page 1 of 1

Issue with test-mklivestatus

Posted: Thu Feb 02, 2017 9:49 am
by bsivavani
Hi All,

I have Nagios XI 5.2.9 and mk-livestatus-1.2.8p16 installed on s930lXXXX. I am able to get data using below queries.

[root@s930lXXXX mk-livestatus-1.2.8p16]# netstat -anp | grep live
unix 2 [ ACC ] STREAM LISTENING 533297 49919/nagios /usr/local/nagios/var/rw/live
[root@s930lXXXX mk-livestatus-1.2.8p16]#


[root@s930lXXXX mk-livestatus-1.2.8p16]# echo 'GET servicegroups' | unixcat /usr/local/nagios/var/rw/live
action_url;alias;members;members_with_state;name;notes;notes_url;num_services;num_services_crit;num_services_hard_crit;num_services_hard_ok;num_services_hard_unknown;num_services_hard_warn;num_services_ok;num_services_pending;num_services_unknown;num_services_warn;worst_service_state
;WIN_Services;;;WIN_Services;;;0;0;0;0;0;0;0;0;0;0;0
[root@s930lXXXX mk-livestatus-1.2.8p16]#


I have Splunk enterprise installed on s930lYYYY, now issue I am facing is I am unable to test test-mklivestatus.py even I have used Nagios server hostname and port in mklivestatus.py
[root@s930lYYYY bin]# ./test-mklivestatus.py
Error connecting to s930lXXXX on port 6557: Connection refused
[root@s930lYYYY bin]#

Kindly advice if any one has come across the situation.

Re: Issue with test-mklivestatus

Posted: Thu Feb 02, 2017 10:18 am
by dwhitfield
We can help with Nagios, but unfortunately livestatus isn't our product so we're limited on the support we can provide. The same thing applies to Splunk.

We'll leave this open for community contribution.

Re: Issue with test-mklivestatus

Posted: Fri Feb 03, 2017 4:14 am
by bsivavani
Thanks for update. I am able to fix the issue.

Re: Issue with test-mklivestatus

Posted: Fri Feb 03, 2017 10:16 am
by dwhitfield
Oh, great! Care to share with the community your resolution?