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. Does NetXMS support NAGIOS?

Does NetXMS support NAGIOS?

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 20.7k 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.
  • G
    G
    geekton
    wrote on last edited by
    #1

    I was just wondering if there is a way to interact NetXMS with NAGIOS. I'm asking that because me and my team are trying to implement a new tool that can monitor some SNMP traffic on our switches, and we all already work with NAGIOS.

    So, can n1 ask me that?

    Appreciate.

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Short answer - yes, you can.

      NetXMS gathers data in multiple ways:

      • Common ways - initiated by server (NetXMS agent build-in checks, SNMP, WMI, etc.)
      • External application can push data (and events) into NetXMS from external source using nxpush / nxevent tools. We use for integration with HP ServiceDesk, for example
      • "External Parameter" can be defined for NetXMS agent. Basically, it just an application / script which output some value. This method commonly used for parameters not provided by core agent and subagents.

      Solution depends on integration level you want to achieve.
      If you need only events in NetXMS (e.g. "Out of disk space", "Node Down", etc.) - you can setup Nagios to execute nxevent when something happens to push event into NetXMS. This can be done with little effort.

      If you want to have not only events but data too (e.g. amount of free space for every minute), you can use two ways:

      • Use nxpush and execute it periodically by Nagios / cron.
      • Create script(s) which extract data from Nagius and configure agent to run this script as "external parameter"

      This should work, but I should warn you that this way can require a lot of effort to make it work (depends on the size of your network). If you want to see all collected in NetXMS - I'd suggest to install our agent on each node.

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

        Some additional comments:

        Nagios plugin API is very simple - basically, plugin is an executable which return code indicates status of tested service (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN), and one or more lines of text. So, you can run any nagios plugin from NetXMS agent as external parameter, and get either status code or first line of text output. For example, to get status code, add following line to nxagentd.conf:

        ExternalParameter = NagiosTest1:nagios_plugin > /dev/null ; echo $?
        

        and for capturing first line of plugin's text output simply

        ExternalParameter = NagiosTest2:nagios_plugin
        

        Best regards,
        Victor

        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