Hi all,
we do have some cashing maschines which can export the amount of money per hour into a text file.
It does look like:
12:00-13:00 24,50
I do know cacti as monitoring tool for system ressources, but it should be possible to monitor the sales as well ?!
Well creating a perl script seams to be not that easy.
Is there somebody out there to help me getting a pearl script running?
This is maybe a bit work, i would be happy to donate the work.
Cheers,
Richard
Using a textfile and numbers as source (pos data)
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
If you can script it, then Cacti will graph it. Collection from a text file "is possible", but a messy solution.
You would ideally be better of exposing these values via SNMP counters (if possible). If not, then your data output from the text file would have to look like this
time:1200 value1:20 value2:30
You would also need to define data sources in Cacti for each of the "time, value1 and value2" fields. Best to have a look through the documentation, which if I may add is excellent (docs.cacti.net)
You would ideally be better of exposing these values via SNMP counters (if possible). If not, then your data output from the text file would have to look like this
time:1200 value1:20 value2:30
You would also need to define data sources in Cacti for each of the "time, value1 and value2" fields. Best to have a look through the documentation, which if I may add is excellent (docs.cacti.net)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
ok
mcutting, thanks a lot for your answer.
Unfortunaly the system does not support snmp what so ever, only the automatic export every hour is possible. I can create a ticket to export time:xx value1:xx and need a script to get this running in cacti.
I will have a look into the documentation, but to be honest, i never wrote any scripts bevor .
Cheers.
Richard
Unfortunaly the system does not support snmp what so ever, only the automatic export every hour is possible. I can create a ticket to export time:xx value1:xx and need a script to get this running in cacti.
I will have a look into the documentation, but to be honest, i never wrote any scripts bevor .
Cheers.
Richard
Who is online
Users browsing this forum: No registered users and 4 guests