Results 1 to 2 of 2

Thread: How to Monitor cpu, disk usage and more with Open NMS???

  1. #1
    Join Date
    Apr 2005
    Location
    The worst place
    Beans
    443

    How to Monitor cpu, disk usage and more with Open NMS???

    So i have open NMS installed, i have ubuntu running in another VM, I want to be able to monitor the cpu, disk usage/space, temp and more

    Open NMS isn't picking up this data automatic, what do i need to do in baby steps to make this work as simple as possible?
    The beauty of life is, while we cannot undo what is done,
    we can see it, understand it, learn from it and change.
    So that every new moment is spent not in regret, guilt, fear or anger,
    but in wisdom, understanding and love.

  2. #2
    Join Date
    Jul 2011
    Location
    Montreal, QC
    Beans
    99
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to Monitor cpu, disk usage and more with Open NMS???

    Quick and dirty would be to run cron jobs with the respectful commands that monitor the data you need and output the raw data on some accessible location.

    ps aux for cpu/memory
    sensors for temp
    fdisk -l for disk usage (I think)

    Code:
    !#/bin/bash
    ps aux > /var/www/cpumem.txt
    fdisk -l > /var/www/disk.txt
    sensors > /var/www/temp.txt
    and run this script every minute or something.

    Beboy

Tags for this Thread

Bookmarks

Posting Permissions

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