Ad Widget

Collapse

How to monitor a particular port listening status or service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nareshkumarvn
    Junior Member
    • Nov 2015
    • 2

    #1

    How to monitor a particular port listening status or service

    I want to monitor the status of Tomcat that runs on 8080

    Similarly MongoDB - 27017 and redis - 6379

    Note: I don't want to use JMX for Tomcat.

    Thank you
  • guzzijason
    Senior Member
    • Dec 2015
    • 106

    #2
    did you take a look at the net.tcp.* items in the agent documentation? Sounds like that's what you want.



    __Jason

    Comment

    • nareshkumarvn
      Junior Member
      • Nov 2015
      • 2

      #3
      Originally posted by guzzijason
      did you take a look at the net.tcp.* items in the agent documentation? Sounds like that's what you want.



      __Jason
      Thank you Jason

      I used net.tcp.port[<ip>,port]
      Example:
      ⇒ net.tcp.port[,80] → can be used to test availability of web server running on port 80

      I cloned the NTP template and create a template for MySQL, Just changed the names and updated 'key' value for the 'item' as given below

      net.tcp.port[,3306]

      I'll create similar templates for mongoDB and redis.

      Thanks Again !

      Comment

      Working...