Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-164

Added a few checks in the agent scripts to prevent bogus information displayed by check_mk and rendered by observium

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • Unix Agent
    • Linux

    Description

      The goal is to clear bogus messages from check_mk when a user copies all of the agent files on the server. For example - the message <<<hddtemp>>> should appear only if hddtemp is installed and working.

      http://dev.jokegurus.com/2012112801.tar
      I'm willing to make a better documentation of the scripts and put it in wiki.

      001-hddtemp - check if hddtemp binary exists & check if port is open
      002-powerdns - check if binary exists
      003-powerdns-recursor - check if binary exists
      004-mysql - remove "echo" if mysql is not configured.
      005-memcached - check if module exists
      006-dmi - check if binary exists, also check if /dev/mem can be opened (on openvz it cannot be opened and errors badly)
      007-unbound - check if binary exists
      008-drbd - changed perl path to env perl

      Attachments

        Activity

          [OBS-164] Added a few checks in the agent scripts to prevent bogus information displayed by check_mk and rendered by observium

          See r3611.

          landy Mike Stupalov added a comment - See r3611.

          is this still useful?

          why is it not a patch?

          adama Adam Armstrong added a comment - is this still useful? why is it not a patch?

          I just learned python and I added a check to nginx script. You can download all changed files from the link bellow:
          http://dev.jokegurus.com/agent-scripts.tar

          dobber Ivan Dimitrov added a comment - I just learned python and I added a check to nginx script. You can download all changed files from the link bellow: http://dev.jokegurus.com/agent-scripts.tar

          I added checks to ntpd script (will uplaod it on monday)
          On nginx scripts, I intend to rewrite (add new) it to perl or php because it's the only python script in observium.

          dobber Ivan Dimitrov added a comment - I added checks to ntpd script (will uplaod it on monday) On nginx scripts, I intend to rewrite (add new) it to perl or php because it's the only python script in observium.

          I will fix nginx and ntpd scripts too, but that is gonna wait for tomorrow+

          dobber Ivan Dimitrov added a comment - I will fix nginx and ntpd scripts too, but that is gonna wait for tomorrow+

          People

            adama Adam Armstrong
            dobber Ivan Dimitrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: