Issue with test-mklivestatus

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Issue with test-mklivestatus

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issue with test-mklivestatus

Post 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.
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Re: Issue with test-mklivestatus

Post by bsivavani »

Thanks for update. I am able to fix the issue.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issue with test-mklivestatus

Post by dwhitfield »

Oh, great! Care to share with the community your resolution?
Locked