Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have two usage figures that are written to myfile.log every two hours by a script. I've setup an input source (usage) with the input string 'cat /var/log/myfile.log' and the output string as <rated> <unrated>.
A regular cat /var/log/myfile.log in linux displays the following:
900 1100
Now, it doesn't seem that cacti/rrdtool likes the output of cat. I've created the graph for theabove data source. The legend for the graph displays 900 MB nan 937¥ MB nan. The colours I selected do not appear and yes, that strange character appears
Seems to me that your cat generates two output values. Your output string definition however indicates that there is only one value <rated>. Try to filter out your cat output to produce only one value or redefine the output string in Cacti - maybe it'll help you.