Hi All,
I am struggling to track this down on a RHEL 8 platform.
new install, my snmp query scripts are all return EMPTY RESULTS. I tried with both spine and cmd.php poller with same results.
running the script or spine in debug mode from the CLI works fine. I don't believe it is data template issue, because - if I run the script on cli and copy the results and replace my script with just a print statement with the results from the CLI, the poller when run has no issue parsing the result.
All my scripts with Net::SNMP does this, leading me to think, this is the issue.
Can anyone assist with resolving the issue please.
/tia
[SOLVED] CACTI/SPINE/CMD.PHP scripts returning Empty Results
Moderators: Developers, Moderators
[SOLVED] CACTI/SPINE/CMD.PHP scripts returning Empty Results
Last edited by anandks on Sat Apr 04, 2020 4:42 pm, edited 1 time in total.
Re: CACTI/SPINE/CMD.PHP scripts returning Empty Results
UGH!
right after I posted it, had a light bulb moment.
cpan was installing modules in /root
and obviously, scripts running as a different user (cacti) is not going to find it.
reinstalled Net::SNMP into system location, and all is fine !
right after I posted it, had a light bulb moment.
cpan was installing modules in /root
and obviously, scripts running as a different user (cacti) is not going to find it.
reinstalled Net::SNMP into system location, and all is fine !
Who is online
Users browsing this forum: No registered users and 0 guests