Results 1 to 2 of 2

Thread: check_memory_by_ssh.py problems

  1. #1
    Junior Member
    Join Date
    Nov 2014
    Posts
    4

    check_memory_by_ssh.py problems

    First of all, check_memory_by_ssh.py fails with a division by zero if no swap memory is present in the server. I've opened an issue in github with a simple solution solving this corner case:

    https://github.com/naparuba/shinken/issues/1396

    But then, when it is working, it does not display graphs in pnp4nagios (other checks -like cpu_stats, disk, https- does show well, so pnp configuration should be ok).

    Performance data is retrieved, however:
    Ok : memory consumption is 58% | cached=35%;;;0%;100% buffered=3%;;;0%;100% consumed=58%;75%;90%;0%;100% used=97%;;;0%;100% free=2%;;;0%;100% swap_used=0%;;;0%;100% swap_free=99%;;;0%;100% buffered_abs=319320KB;;;0KB;8086808KB used_abs=7907876KB;;;0KB;8086808KB cached_abs=2895508KB;;;0KB;8086808KB consumed_abs=4693048KB;;;0KB;8086808KB free_abs=178932KB;;;0KB;8086808KB total_abs=8086808KB;;;0KB;8086808KB swap_total=9765884KB;;;0KB;9765884KB swap_used=5108KB;;;0KB;9765884KB swap_free=9760776KB;;;0KB;9765884KB

    What could be wrong?

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: check_memory_by_ssh.py problems

    No error entries in the npcd daemon logs? Because the perfdata output seems valid.
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •