Hi,
I want to make data query simile as http://www.roth.lu/cacti-snmp-tut.htm
but not via snmp but from a local file.
Thanks
Adam
Data query from loca file
Moderators: Developers, Moderators
There is an even easier way. I would just create a small shell script that does the command you want/need.
For instance:
#!/bin/sh
cat /var/log/statistiche/82.112.210.80
I have a similar script that works perfectly fine the same way. Its slighty more complex as there are multiple variables. When creating your Data Input Method just put
/opt/cacti/scripts/yourscript.sh
And you should be good to go.
For instance:
#!/bin/sh
cat /var/log/statistiche/82.112.210.80
I have a similar script that works perfectly fine the same way. Its slighty more complex as there are multiple variables. When creating your Data Input Method just put
/opt/cacti/scripts/yourscript.sh
And you should be good to go.
Who is online
Users browsing this forum: No registered users and 7 guests