Thruk installation “failed to open socket” Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow to solve “building the main Guest Additions module Failed”“client denied by server configuration” with “AllowOverride All”Cannot create new service with xinetd in RHEL6Setting different path for installation in python packagingSystem call sent warnings to stderr: error: unsupported option (BSD syntax)VirtualBox Kernel Module Installing IssueCentOS 7 - Can't mount /var/tmp as binde2fsck “Memory allocation failed”Failed to start The Apache HTTP Server - httpd.service failedCannot stop SELinux from blocking Apache accessing /usr/local/nagios/var/rw/nagios.cmd

Why is "Captain Marvel" translated as male in Portugal?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

Disable hyphenation for an entire paragraph

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

What is a Meta algorithm?

What would be the ideal power source for a cybernetic eye?

How to deal with a team lead who never gives me credit?

Bonus calculation: Am I making a mountain out of a molehill?

How can players work together to take actions that are otherwise impossible?

What causes the vertical darker bands in my photo?

Stars Make Stars

If Jon Snow became King of the Seven Kingdoms what would his regnal number be?

What is the musical term for a note that continously plays through a melody?

How to find all the available tools in macOS terminal?

Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?

Why constant symbols in a language?

Right-skewed distribution with mean equals to mode?

What's the purpose of writing one's academic bio in 3rd person?

Center align columns in table ignoring minus signs?

ListPlot join points by nearest neighbor rather than order

Why was the term "discrete" used in discrete logarithm?

Storing hydrofluoric acid before the invention of plastics

How much radiation do nuclear physics experiments expose researchers to nowadays?

Single word antonym of "flightless"



Thruk installation “failed to open socket”



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to solve “building the main Guest Additions module Failed”“client denied by server configuration” with “AllowOverride All”Cannot create new service with xinetd in RHEL6Setting different path for installation in python packagingSystem call sent warnings to stderr: error: unsupported option (BSD syntax)VirtualBox Kernel Module Installing IssueCentOS 7 - Can't mount /var/tmp as binde2fsck “Memory allocation failed”Failed to start The Apache HTTP Server - httpd.service failedCannot stop SELinux from blocking Apache accessing /usr/local/nagios/var/rw/nagios.cmd



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm now trying to learn how to set things up to actually use. At work we use Nagios/Thruk so I'm trying to set it up on my home network so I can learn it better.



I set up a CentOS 6.6 machine. I've installed Nagios on it, and that's working fine. Now I'm trying to set up Thruk. I've managed to get livestatus and Thruk installed, but I'm stuck at getting it to actually work. In the documentation it shows that I'm supposed to add these two lines to the /usr/local/nagios/etc/nagios.cfg file:



broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
event_broker_options=-1


the event_broker_options=-1 line already existed, so I added the other line above it. In some examples, it is shown as this instead:



broker_module=/usr/local/lib/mk-livestatus/livestatus.o /tmp/live.sock
event_broker_options=-1


I've tried both, and I cannot seem to get this to work. I've done all the basics I can think of. I've reinstalled and updated all of the components (nagios, livestatus, thruk), I've reloaded and restarted all service associated a billion times. When the line I added is in there, Nagios starts when I tell it to start, but it then stops immediately. When I go into the /usr/local/nagios/var/nagios.log file, I see the following lines whenever I try to start Nagios and it fails:



Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
Error: Failde to load module '/usr/local/lib/mk-livestatus/livestatus.o' .
Error: Module loading failed. Aborting.


If I comment out the line I added to the nagios.cfg file, Nagios will load and work properly, but Thruk still isn't working properly. If I load the Thruk page, I get this:



No Backend available
None of the configured Backends could be reached, please have a look at the logfile for detailed information and make sure the core is up and running.
Details:
home-net: ERROR: failed to open socket /tmp/live.sock: No such file or directory (/tmp/live.sock)


It appears to me to be something wrong with livestatus, but I don't understand it well enough to fix it on my own and I'm having a lot of difficulty finding (or maybe understanding) the answer anywhere. From what I understood, I thought the nagios.cfg file was supposed to configure the live.sock file. Is that not correct? I'm doing my best, but I need some help.










share|improve this question






























    1















    I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm now trying to learn how to set things up to actually use. At work we use Nagios/Thruk so I'm trying to set it up on my home network so I can learn it better.



    I set up a CentOS 6.6 machine. I've installed Nagios on it, and that's working fine. Now I'm trying to set up Thruk. I've managed to get livestatus and Thruk installed, but I'm stuck at getting it to actually work. In the documentation it shows that I'm supposed to add these two lines to the /usr/local/nagios/etc/nagios.cfg file:



    broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
    event_broker_options=-1


    the event_broker_options=-1 line already existed, so I added the other line above it. In some examples, it is shown as this instead:



    broker_module=/usr/local/lib/mk-livestatus/livestatus.o /tmp/live.sock
    event_broker_options=-1


    I've tried both, and I cannot seem to get this to work. I've done all the basics I can think of. I've reinstalled and updated all of the components (nagios, livestatus, thruk), I've reloaded and restarted all service associated a billion times. When the line I added is in there, Nagios starts when I tell it to start, but it then stops immediately. When I go into the /usr/local/nagios/var/nagios.log file, I see the following lines whenever I try to start Nagios and it fails:



    Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
    Error: Failde to load module '/usr/local/lib/mk-livestatus/livestatus.o' .
    Error: Module loading failed. Aborting.


    If I comment out the line I added to the nagios.cfg file, Nagios will load and work properly, but Thruk still isn't working properly. If I load the Thruk page, I get this:



    No Backend available
    None of the configured Backends could be reached, please have a look at the logfile for detailed information and make sure the core is up and running.
    Details:
    home-net: ERROR: failed to open socket /tmp/live.sock: No such file or directory (/tmp/live.sock)


    It appears to me to be something wrong with livestatus, but I don't understand it well enough to fix it on my own and I'm having a lot of difficulty finding (or maybe understanding) the answer anywhere. From what I understood, I thought the nagios.cfg file was supposed to configure the live.sock file. Is that not correct? I'm doing my best, but I need some help.










    share|improve this question


























      1












      1








      1








      I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm now trying to learn how to set things up to actually use. At work we use Nagios/Thruk so I'm trying to set it up on my home network so I can learn it better.



      I set up a CentOS 6.6 machine. I've installed Nagios on it, and that's working fine. Now I'm trying to set up Thruk. I've managed to get livestatus and Thruk installed, but I'm stuck at getting it to actually work. In the documentation it shows that I'm supposed to add these two lines to the /usr/local/nagios/etc/nagios.cfg file:



      broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
      event_broker_options=-1


      the event_broker_options=-1 line already existed, so I added the other line above it. In some examples, it is shown as this instead:



      broker_module=/usr/local/lib/mk-livestatus/livestatus.o /tmp/live.sock
      event_broker_options=-1


      I've tried both, and I cannot seem to get this to work. I've done all the basics I can think of. I've reinstalled and updated all of the components (nagios, livestatus, thruk), I've reloaded and restarted all service associated a billion times. When the line I added is in there, Nagios starts when I tell it to start, but it then stops immediately. When I go into the /usr/local/nagios/var/nagios.log file, I see the following lines whenever I try to start Nagios and it fails:



      Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
      Error: Failde to load module '/usr/local/lib/mk-livestatus/livestatus.o' .
      Error: Module loading failed. Aborting.


      If I comment out the line I added to the nagios.cfg file, Nagios will load and work properly, but Thruk still isn't working properly. If I load the Thruk page, I get this:



      No Backend available
      None of the configured Backends could be reached, please have a look at the logfile for detailed information and make sure the core is up and running.
      Details:
      home-net: ERROR: failed to open socket /tmp/live.sock: No such file or directory (/tmp/live.sock)


      It appears to me to be something wrong with livestatus, but I don't understand it well enough to fix it on my own and I'm having a lot of difficulty finding (or maybe understanding) the answer anywhere. From what I understood, I thought the nagios.cfg file was supposed to configure the live.sock file. Is that not correct? I'm doing my best, but I need some help.










      share|improve this question
















      I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm now trying to learn how to set things up to actually use. At work we use Nagios/Thruk so I'm trying to set it up on my home network so I can learn it better.



      I set up a CentOS 6.6 machine. I've installed Nagios on it, and that's working fine. Now I'm trying to set up Thruk. I've managed to get livestatus and Thruk installed, but I'm stuck at getting it to actually work. In the documentation it shows that I'm supposed to add these two lines to the /usr/local/nagios/etc/nagios.cfg file:



      broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
      event_broker_options=-1


      the event_broker_options=-1 line already existed, so I added the other line above it. In some examples, it is shown as this instead:



      broker_module=/usr/local/lib/mk-livestatus/livestatus.o /tmp/live.sock
      event_broker_options=-1


      I've tried both, and I cannot seem to get this to work. I've done all the basics I can think of. I've reinstalled and updated all of the components (nagios, livestatus, thruk), I've reloaded and restarted all service associated a billion times. When the line I added is in there, Nagios starts when I tell it to start, but it then stops immediately. When I go into the /usr/local/nagios/var/nagios.log file, I see the following lines whenever I try to start Nagios and it fails:



      Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
      Error: Failde to load module '/usr/local/lib/mk-livestatus/livestatus.o' .
      Error: Module loading failed. Aborting.


      If I comment out the line I added to the nagios.cfg file, Nagios will load and work properly, but Thruk still isn't working properly. If I load the Thruk page, I get this:



      No Backend available
      None of the configured Backends could be reached, please have a look at the logfile for detailed information and make sure the core is up and running.
      Details:
      home-net: ERROR: failed to open socket /tmp/live.sock: No such file or directory (/tmp/live.sock)


      It appears to me to be something wrong with livestatus, but I don't understand it well enough to fix it on my own and I'm having a lot of difficulty finding (or maybe understanding) the answer anywhere. From what I understood, I thought the nagios.cfg file was supposed to configure the live.sock file. Is that not correct? I'm doing my best, but I need some help.







      centos nagios






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 13 '16 at 4:49









      Mongrel

      2,12331849




      2,12331849










      asked Dec 19 '14 at 1:22









      duzzyduzzy

      1114




      1114




















          1 Answer
          1






          active

          oldest

          votes


















          0














          If you are using Nagios 4.X make sure to install livestatus from the sources using the option to make it compatible with Nagios 4.X
          -> https://mathias-kettner.de/checkmk_livestatus.html
          Else Nagios can't create the socket during launching and crashes.
          I am using exactly the same configuration you are, and still block on the next step : making thruk read the socket. If you manage it, please give details.






          share|improve this answer























          • Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

            – Erathiel
            Apr 20 '15 at 13:27











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f174964%2fthruk-installation-failed-to-open-socket%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          If you are using Nagios 4.X make sure to install livestatus from the sources using the option to make it compatible with Nagios 4.X
          -> https://mathias-kettner.de/checkmk_livestatus.html
          Else Nagios can't create the socket during launching and crashes.
          I am using exactly the same configuration you are, and still block on the next step : making thruk read the socket. If you manage it, please give details.






          share|improve this answer























          • Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

            – Erathiel
            Apr 20 '15 at 13:27















          0














          If you are using Nagios 4.X make sure to install livestatus from the sources using the option to make it compatible with Nagios 4.X
          -> https://mathias-kettner.de/checkmk_livestatus.html
          Else Nagios can't create the socket during launching and crashes.
          I am using exactly the same configuration you are, and still block on the next step : making thruk read the socket. If you manage it, please give details.






          share|improve this answer























          • Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

            – Erathiel
            Apr 20 '15 at 13:27













          0












          0








          0







          If you are using Nagios 4.X make sure to install livestatus from the sources using the option to make it compatible with Nagios 4.X
          -> https://mathias-kettner.de/checkmk_livestatus.html
          Else Nagios can't create the socket during launching and crashes.
          I am using exactly the same configuration you are, and still block on the next step : making thruk read the socket. If you manage it, please give details.






          share|improve this answer













          If you are using Nagios 4.X make sure to install livestatus from the sources using the option to make it compatible with Nagios 4.X
          -> https://mathias-kettner.de/checkmk_livestatus.html
          Else Nagios can't create the socket during launching and crashes.
          I am using exactly the same configuration you are, and still block on the next step : making thruk read the socket. If you manage it, please give details.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 20 '15 at 13:15









          EChauveEChauve

          1




          1












          • Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

            – Erathiel
            Apr 20 '15 at 13:27

















          • Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

            – Erathiel
            Apr 20 '15 at 13:27
















          Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

          – Erathiel
          Apr 20 '15 at 13:27





          Welcome to Stack Exchange! We recommend that users include relevant parts of articles they link to rather than post links only. This prevents the answers from becoming unusable if links become obsolete. Please edit your post and include most important points, if that's possible, to improve your answer.

          – Erathiel
          Apr 20 '15 at 13:27

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f174964%2fthruk-installation-failed-to-open-socket%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided