Could THold go the BB way?

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
TomekN
Posts: 13
Joined: Thu Mar 02, 2006 7:15 am
Location: Warsaw, Poland

Could THold go the BB way?

Post by TomekN »

First of all mind I already use Thold ;)
I love it, it does a lot of job, but not all.
I like the BB red/gren grid idea: http://demo.bb4.com/bb/

Here's my idea for a brand new plugin (or percheps thold extension?)

1. Lets say I have 5 servers with hardware raid

2. Each of them has net-snmp packege extended with a custom bash script, that checks if raid is OK or not.

3. OK? -> .1.3.6.1.4.1.2021.50 = 0
BAD? -> .1.3.6.1.4.1.2021.50 = 1

4. Cacti pools .1.3.6.1.4.1.2021.50 each 5 minuts and displays a grid

Code: Select all

server-id | raid | some other features
--------------------------------------------
server1   | (O)  | (O) | (O) |
server2   | (O)  | (O) | (O) |
server3   | (O)  | (O) | (O) |
server4   | (O)  | (O) | (O) |
server5   | (O)  | (O) | (O) |
where (O) - is a green or red bullet depending on .50 oid value.

5. Cacti would somehow store status history of each sensor
and would be able to display it that way:
http://demo.bb4.com/cgi-bin/bb-hist.sh? ... ENTRIES=50

6. Cactli would mail me if any of sensors goes beyond/below particular
value - in the same way thold does.

7. Points 2-3 could be probably extended to some custom bash/perl scripts.

-----------------------------------
Probably Thold could handle most of that but:
- AFAIK it controls only values that are graphed and there's no point in drawing 0/1 sensors
- Thold shows green/red but not in the grid manner bb does (servers x features)

WDYF?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

I could see a new plugin being developed to do this, but Thold itself would have to be completely modified to do what you want, which would get rid of most of its original purpose.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests