Steps taken thus far
- Create a script for troubleshooting that returns a single integer value. A standard linux command is used for troubleshooting.
I've experimented on returning the newline, or even stripping that out - it makes no difference currently. Everything below will reference activePhoneContacts as a name, but clearly I'm just using an hour for test data right now.
Code: Select all
#!/usr/bin/bash /bin/date "+%H" | /bin/tr -d '\n'
- Create a data input method based on this script.
- Create a template for the data source including the output (input not necessary).
- Create a template for the graph including the associated item.
- Add a graph template to the localhost device. This doesn't create the graph, so I also use the link "create graphs for this device" where it shows that associated template.
The RRD should be created on the next polling cycle. The poller is working because other graphs are updating. Other graphs were created long ago. The RRD is not even being created.
Knowing that the data source includes a command to manually create RRDs, I tried that also and set the file ownership to match other pre-existing RRDs that work. I also setup the selinux file permissions to match the others. I tried disabling selinux temporarily, but that did not help either.
There are a couple dozen functional RRDs, but to be succinct, I list just one other by way of comparison.
I don't see references to my script in cacti.log in DEVEL or DEBUG mode, so I'm questioning whether the poller is using my script or not - the other graphs are all SNMP.
Troubleshooting data sources from console yields the following:
Hopefully I've provide enough information to identify a root cause here. Thank you for you patience in dissecting this lengthy description.