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.
05/13/2009 11:20:11 PM - CMDPHP: Poller[0] Host[13] DS[271] CMD: perl /usr/share/cacti/site/scripts/ncnet_memory_utilization.pl dc1.test.local, output: available:567767000 cache:41492480 pool_paged:65630210 pool_nonpaged:33316860 sys_code:802816 sys_driver:2338816
05/13/2009 11:20:12 PM - POLLER: Poller[0] Parsed MULTI output field 'cache:41492480' [map cache->nc_mem_cache]
05/13/2009 11:20:12 PM - POLLER: Poller[0] Parsed MULTI output field 'pool_paged:65630210' [map pool_paged->nc_mem_paged]
05/13/2009 11:20:12 PM - POLLER: Poller[0] Parsed MULTI output field 'pool_nonpaged:33316860' [map pool_nonpaged->nc_mem_nonpaged]
05/13/2009 11:20:12 PM - POLLER: Poller[0] Parsed MULTI output field 'sys_code:802816' [map sys_code->nc_mem_sys_code]
05/13/2009 11:20:12 PM - POLLER: Poller[0] Parsed MULTI output field 'sys_driver:2338816' [map sys_driver->nc_mem_sys_driver]
Script output seems ok, but the poller don't map the first value to the data source. I've double checked case and spelling of all parameters and can't find a typo.
Other multi output scripts are working fine.
Thanks for any hint.
Last edited by Z.Beeblebrox on Sun May 17, 2009 3:43 pm, edited 1 time in total.
I've made a new script with two output parameter: p1 and p2.
Then I've created a new data input method calling this script and referencing these two parameter. After this I created a new data template and a graph for this test.
Result: 1st output parameter in my data input method-list is not parsed. I've reconfigured my perl script, so that the output parameter "p1" is on the 2nd position. Same result.
The solution was, to delete the 1st output parameter on my data input method and add it again with the same content. The only difference is, that this parameter reference now has a new id in the database. Then I've opened the data template, checked the reference to the output field (it was correct) and although saved it.
Now it works. But why?
Same procedure for the other data input method (this one I've posted in this thread) and it works too. ?!
I think, that I make a mistake while creating the data input method or while creating the data template for multiple output fields, but I don't know what this could be.