Announcement

Collapse
No announcement yet.

/check_centreon_snmp_remote_storage IP and DNS NAME issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • /check_centreon_snmp_remote_storage IP and DNS NAME issue

    Morning.

    I don't know if you already have this kind of issue.. but it's very strange. If you have idea, you're welcome! :-)

    ./check_centreon_snmp_remote_storage -H IPADDRESS -n -d C -w 80 -c 90 -C public -v 1
    Disk CRITICAL - no output (-p number expected... it doesn't exist, try another disk number)


    ./check_centreon_snmp_remote_storage -H DNSNAME -n -d C -w 80 -c 90 -C public -v 1
    Disk OK - C: TOTAL: 49.900GB USED: 22.565GB (45%) FREE: 27.335GB (55%)|size=53580132352B used=24228880384B;42864105881;48222119116;0;535801 32352

    And the DNSNAME = IPADRESS
    Resolved on ping -a

    ?? Thanks for your help!
    http://www.matthieurobin.com

  • #2
    Fixed alone

    I don't know why! Maybe a problem with the route/arp table
    http://www.matthieurobin.com

    Comment


    • #3
      Hi,

      check_centreon_snmp_remote_storage use a cache file to know quickly disk name. this cache file use a name like "remote_storage_cache_$HOSTADDRESS$" and is refresh every 3 hours.
      sometime during refreshing, snmp dont work well. so cache file is corrupted during 3 hours.
      That's why with IP it dont work and with dns it work. (you were using 2 different caches files)

      When it append, you can fix it by delete the corrupted cache file /var/lib/centreon/centplugins/remote_storage_cache_$HOSTADDRESS$ (default path)

      You can also delete every old file here because there is no routine to purge this directory.
      Last edited by raphaelt; 30th July 2012, 21:58. Reason: quote closed...
      Raphael
      --
      Bi Intel(R) Xeon(TM) CPU 3.06GHz - 3Gb ram
      Debian
      Nagios® Core™ Version 3.2.1 - Nagios Plugins 1.4.14 - NDO 1.4b9 patché
      Centreon 2.3.4 - Syslog Module 1.3.2 - StatusMap Module 2.5 - NDO Tools Module 0.4 SVN - Nagvis
      Beta tester : centreon-engine - centreon-broker

      Comment

      Working...
      X