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
  3. Unable to check open ports - Unable to check service status due to agent or comm

Unable to check open ports - Unable to check service status due to agent or comm

Scheduled Pinned Locked Moved Support
1 Posts 1 Posters 13.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.
  • R
    R
    revand
    wrote on last edited by
    #1

    I am currently having problems checking open ports with the Network Service Object.

    OS: Ubuntu 16.04.5 LTS
    NetXMS: 2.2.10
    NxAgent: 2.2.10
    CPU: 4 Cores
    RAM: 4GB

    I have installed the SubAgent PORTCHECK and it loads successfully. But every device the port check returns with the error "Unable to check service status due to agent or communication error".

    I have checked,

    • Agent is running
    • Firewall
    • NMAP on server returns open ports
    • Reboot Server
    • Restart NetXMS and NXAgent service

     

    NxAgent Output

    2018.12.18 10:42:09.195 Log file opened (rotation policy 2, max size 4194304)
    2018.12.18 10:42:09.196 *D* Log rotation policy set to 2 (size=16777216, count=4)
    2018.12.18 10:42:09.196 *I* Core agent version 2.2.10
    2018.12.18 10:42:09.196 *I* Additional configs was loaded from /etc/nxagentd.conf.d
    2018.12.18 10:42:09.196 *I* Debug level set to 0
    2018.12.18 10:42:09.196 *I* Data directory: /var/lib/netxms
    2018.12.18 10:42:09.196 *I* File store: /tmp
    2018.12.18 10:42:09.212 *I* DB Library: Database driver "sqlite.ddr" loaded and initialized successfully
    2018.12.18 10:42:09.349 *I* Agent ID is 0e337872-fd79-45a7-9d3c-af97e58362e6
    2018.12.18 10:42:09.358 *I* Local host name is "NetXMS.office.pocketinet.com"
    2018.12.18 10:42:09.358 *I* Using system name "NetXMS"
    2018.12.18 10:42:10.375 *I* Subagent "Linux" (linux.nsm) loaded successfully (version 2.2.10)
    2018.12.18 10:42:10.377 *I* Subagent "PORTCHECK" (portcheck.nsm) loaded successfully (version 2.2.10)
    2018.12.18 10:42:11.382 *I* Listening on socket 0.0.0.0:4700
    2018.12.18 10:42:11.382 *I* Listening on socket [::]:4700
    2018.12.18 10:42:12.383 *I* NetXMS Agent started
    2018.12.18 11:12:02.051 *I* NetXMS Agent stopped

    Node Status Poll

    [20.12.2018 08:44:57] **** Poll request sent to server ****
    [20.12.2018 08:44:57] Poll request accepted
    [20.12.2018 08:44:57] Starting status poll for node Unifi Controller
    [20.12.2018 08:44:57]    Starting status poll on interface unknown
    [20.12.2018 08:44:57]      Current interface status is NORMAL
    [20.12.2018 08:44:57]      Starting ICMP ping
    [20.12.2018 08:44:57]      Interface is NORMAL for 2421 polls (1 poll required for status change)
    [20.12.2018 08:44:57]      Interface status after poll is NORMAL
    [20.12.2018 08:44:57]    Finished status poll on interface unknown
    [20.12.2018 08:44:57]    Starting status poll on network service Port 8080
    [20.12.2018 08:44:57]      Current service status is UNKNOWN
    [20.12.2018 08:44:57]      Polling service from node NetXMS [IP REDACTED]
    [20.12.2018 08:44:57]      Unable to check service status due to agent or communication error
    [20.12.2018 08:44:57]    Finished status poll on network service Port 8080
    [20.12.2018 08:44:57]    Starting status poll on network service HTTP
    [20.12.2018 08:44:57]      Current service status is UNKNOWN
    [20.12.2018 08:44:57]      Polling service from node NetXMS [IP REDACTED]
    [20.12.2018 08:44:57]      Unable to check service status due to agent or communication error
    [20.12.2018 08:44:57]    Finished status poll on network service HTTP
    [20.12.2018 08:44:57]    Starting status poll on network service test 10001
    [20.12.2018 08:44:57]      Current service status is UNKNOWN
    [20.12.2018 08:44:57]      Polling service from node NetXMS [IP REDACTED]
    [20.12.2018 08:44:57]      Unable to check service status due to agent or communication error
    [20.12.2018 08:44:57]    Finished status poll on network service test 10001
    [20.12.2018 08:44:57]    Starting status poll on network service ssh
    [20.12.2018 08:44:57]      Current service status is UNKNOWN
    [20.12.2018 08:44:57]      Polling service from node NetXMS [IP REDACTED]
    [20.12.2018 08:44:57]      Unable to check service status due to agent or communication error
    [20.12.2018 08:44:57]    Finished status poll on network service ssh
    [20.12.2018 08:44:57] Node is connected
    [20.12.2018 08:45:01] Finished status poll for node Unifi Controller
    [20.12.2018 08:45:01] Node status after poll is NORMAL
    [20.12.2018 08:45:01] **** Poll completed successfully ****

    I have checked these forum posts and either its about checking web pages or I have already done all the things.
    https://www.netxms.org/forum/configuration/network-service/msg9702/#msg9702
    https://www.netxms.org/forum/configuration/website-monitoring-using-network-service/msg16373/#msg16373
    https://www.netxms.org/forum/general-support/cannot-figure-web-site-monitor/msg7382/#msg7382

    Any help would be appreciated.
    Jarred

    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