ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installation of Check mk agent at Ubuntu

    IT Discussion
    nagios
    4
    21
    5.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @Lakshmana
      last edited by

      @Lakshmana said:

      @Lakshmana
      I have installed the check mk agent now but there is an issue at xinetd.xinetd is not even running after restarting the services.why?

      Did you set up xinetd?

      LakshmanaL 1 Reply Last reply Reply Quote 0
      • LakshmanaL
        Lakshmana @scottalanmiller
        last edited by

        @scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Lakshmana
          last edited by

          @Lakshmana said:

          @scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.

          It did? So it is installed twice now? It should be there in a base install.

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom @scottalanmiller
            last edited by

            @scottalanmiller said:

            @Lakshmana said:

            @scottalanmiller No I have not installed xinetd separately but it automatically installed while installing the check mk agent.

            It did? So it is installed twice now? It should be there in a base install.

            It's possible he's using the wrong service name. The package may be named one thing and the service name another.

            1 Reply Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom
              last edited by

              @Lakshmana, what is the result if you run the following?

              /usr/sbin/xinetd status
              

              When I run the same command you ran, I get this:

              root@jump-server:~# service xinetd status
              xinetd start/running, process 1354
              

              That means for me the service is running and recognized under that name. If I run htop, I get the following for that PID:
              upload-0309b53d-0f03-4888-b41e-8e6ac9ab2478

              So maybe try this?

              service xinetd start
              

              I see you started to do that but never actually ran it. You tried to restart it but if it's not already running, that does you no good.

              Thanks,
              A.J.

              LakshmanaL 1 Reply Last reply Reply Quote 0
              • LakshmanaL
                Lakshmana @thanksajdotcom
                last edited by

                @thanksajdotcom I have tried the things you have mentioned please verify the screeenshot i have attached with this.Screenshot from 2015-05-08 09:31:57.png Screenshot from 2015-05-08 09:31:26.png Screenshot from 2015-05-08 09:31:08.png

                1 Reply Last reply Reply Quote 0
                • handsofqwertyH
                  handsofqwerty
                  last edited by

                  Can you do me a favor and run the following command?

                  sudo apt-get -y install xinetd
                  

                  What do you get when you run that?

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @handsofqwerty
                    last edited by

                    @handsofqwerty PLease verify this snapshot
                    Screenshot from 2015-05-09 10:12:06.png

                    handsofqwertyH 1 Reply Last reply Reply Quote 0
                    • handsofqwertyH
                      handsofqwerty @Lakshmana
                      last edited by

                      @Lakshmana said:

                      @handsofqwerty PLease verify this snapshot
                      Screenshot from 2015-05-09 10:12:06.png

                      Ok, have you tried this?

                      sudo service xinetd start
                      

                      It might need root privileges to start the service.

                      LakshmanaL 1 Reply Last reply Reply Quote 0
                      • LakshmanaL
                        Lakshmana @handsofqwerty
                        last edited by

                        @handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.

                        handsofqwertyH 1 Reply Last reply Reply Quote 0
                        • handsofqwertyH
                          handsofqwerty @Lakshmana
                          last edited by

                          @Lakshmana said:

                          @handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.

                          Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @handsofqwerty
                            last edited by

                            @handsofqwerty said:

                            @Lakshmana said:

                            @handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.

                            Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...

                            One of the problems of coming from a "root" system like RHEL or CentOS and switching to a "sudo" system like Ubuntu. Need everything prefaced with sudo.

                            handsofqwertyH 1 Reply Last reply Reply Quote 1
                            • handsofqwertyH
                              handsofqwerty @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @handsofqwerty said:

                              @Lakshmana said:

                              @handsofqwerty Yes now it is working properly and now the service is started and I have joined this machine in nagios now.Thank you now it is working properly.

                              Ok, it's usually something simple like that. I run in root mode all the time on all my Linux machines, so I constantly forget to tell people to use "sudo" because I never have to...

                              One of the problems of coming from a "root" system like RHEL or CentOS and switching to a "sudo" system like Ubuntu. Need everything prefaced with sudo.

                              My issue is with the Wordpress utility for Linux that allows you to manage Wordpress via CLI. There are so many things you have to either be root or using sudo to do, but you have to append "--allow-root" to every freaking command that you run as root, even if the command requires root privileges to do what it needs to. It's so stupid!

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 1 / 2
                              • First post
                                Last post