Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. ServiceCheck.Custom ответ не меняется

ServiceCheck.Custom ответ не меняется

Scheduled Pinned Locked Moved Support (Russian)
7 Posts 2 Posters 15.0k Views
  • 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.
  • B
    B
    Bansher
    wrote on last edited by
    #1

    На удаленной машине запущен Apache. 80 порт доступен.
    Выбираю ServiceCheck.Custom, жму кнопку "get", ввожу запрос:192.168.0.126, 80
    Получаю ответ: 0
    Гашу apache, повторяю процедуру и снова получаю 0. Почему?
    Клиент - Ubntu 10.10 agent 1.0.9

    1 Reply Last reply
    0
    • B
      B
      Bansher
      wrote on last edited by
      #2

      Читал тему https://www.netxms.org/forum/oe-oo/moto-omo-servicecheck/. Все запросы SMTP, POP3 и т.д. отрабатывают правильно. А ServiceCheck.Custom не работает 😞
      Server 1.0.9

      1 Reply Last reply
      0
      • V
        V
        Victor Kirhenshtein
        wrote on last edited by
        #3

        А как выглядит netstat -ant на хосте 192.168.0.126 после остановки апача?

        1 Reply Last reply
        0
        • B
          B
          Bansher
          wrote on last edited by
          #4

          Proto Recv-Q Send-Q Local Address Foreign Address State     
          tcp        0      0 127.0.0.1:587          0.0.0.0:*              LISTEN   
          tcp        0      0 0.0.0.0:139            0.0.0.0:*              LISTEN   
          tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN   
          tcp        0      0 127.0.0.1:631          0.0.0.0:*              LISTEN   
          tcp        0      0 127.0.0.1:25            0.0.0.0:*              LISTEN   
          tcp        0      0 0.0.0.0:4700            0.0.0.0:*              LISTEN   
          tcp        0      0 0.0.0.0:17500          0.0.0.0:*              LISTEN   
          tcp        0      0 0.0.0.0:445            0.0.0.0:*              LISTEN   
          tcp        0      0 192.168.0.126:4700      192.168.0.6:49641      ESTABLISHED
          tcp        0      0 192.168.0.126:45627    83.222.7.138:80        ESTABLISHED
          tcp        0      0 192.168.0.126:45050    91.198.174.233:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38568    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:40922    174.36.30.96:80        ESTABLISHED
          tcp        0      0 192.168.0.126:38567    91.198.174.232:80      ESTABLISHED
          tcp        0      0 127.0.0.1:47921        127.0.0.1:53355        ESTABLISHED
          tcp        0      0 192.168.0.126:45051    91.198.174.233:80      ESTABLISHED
          tcp        1      0 127.0.0.1:36890        127.0.0.1:53355        CLOSE_WAIT
          tcp        1      0 127.0.0.1:36881        127.0.0.1:53355        CLOSE_WAIT
          tcp        0      0 192.168.0.126:44602    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38602    217.73.200.220:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38565    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:44605    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:44603    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38571    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:44601    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38570    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:38569    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:57410    209.85.135.100:80      ESTABLISHED
          tcp        0      0 192.168.0.126:44604    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:55426    64.85.168.192:80        TIME_WAIT 
          tcp        0      0 192.168.0.126:44606    77.234.201.242:80      ESTABLISHED
          tcp        0      0 192.168.0.126:55425    64.85.168.192:80        TIME_WAIT 
          tcp        0      0 192.168.0.126:54870    91.198.174.234:80      ESTABLISHED
          tcp        0      0 127.0.0.1:47929        127.0.0.1:53355        ESTABLISHED
          tcp        1      0 127.0.0.1:33204        127.0.0.1:53355        CLOSE_WAIT
          tcp        0      0 192.168.0.126:48241    192.168.0.6:4701        ESTABLISHED
          tcp        0      0 192.168.0.126:38566    91.198.174.232:80      ESTABLISHED
          tcp        0      0 192.168.0.126:54868    91.198.174.234:80      ESTABLISHED
          tcp      38      0 192.168.0.126:43201    208.43.202.52:443      CLOSE_WAIT
          tcp        0      0 192.168.0.126:54869    91.198.174.234:80      ESTABLISHED
          tcp        0      0 192.168.0.126:55424    64.85.168.192:80        TIME_WAIT 
          tcp        0      0 192.168.0.126:45049    91.198.174.233:80      ESTABLISHED
          tcp        0      0 192.168.0.126:41620    209.85.135.120:443      TIME_WAIT 
          tcp        0      0 192.168.0.126:40538    209.85.135.104:80      ESTABLISHED
          tcp        1      0 127.0.0.1:36891        127.0.0.1:53355        CLOSE_WAIT
          tcp6      0      0 127.0.0.1:53355        :::*                    LISTEN   
          tcp6      0      0 :::22                  :::*                    LISTEN   
          tcp6      0      0 ::1:631                :::*                    LISTEN   
          tcp6      1      0 192.168.0.126:55937    209.85.135.105:443      CLOSE_WAIT
          tcp6      0      0 127.0.0.1:53355        127.0.0.1:47929        ESTABLISHED
          tcp6      0      0 192.168.0.126:51025    74.125.43.109:993      ESTABLISHED
          tcp6      0      0 192.168.0.126:40822    192.168.0.28:443        ESTABLISHED
          tcp6      0      0 127.0.0.1:53355        127.0.0.1:47921        ESTABLISHED
          tcp6      0      0 192.168.0.126:40506    192.168.0.28:443        ESTABLISHED
          tcp6      1      1 192.168.0.126:49811    94.100.177.6:110        LAST_ACK

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Оказалось, что это баг. В аттаче исправленный net.cpp из src/agent/subagents/portCheck - если заменить и пересобрать, то должно работать.


            net.cpp

            1 Reply Last reply
            0
            • B
              B
              Bansher
              wrote on last edited by
              #6

              Большое спасибо. Сейчас попробую

              1 Reply Last reply
              0
              • B
                B
                Bansher
                wrote on last edited by
                #7

                Yes!!!!!!!!!!
                Спасибо. Работает

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups