commoboy
Joined: 21 Mar 2005 Posts: 2 Location: Seattle
|
Posted: Thu Sep 18, 2008 3:58 pm Post subject: A little nagging issue |
|
|
I didn't have any problem getting this script installed or the template imported. However, i am not getting any usable data. When I run a verbose query I get the following;
| Code: | + Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_queries/cisco_cpu_util.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/cisco_cpu_util.php 69.77.183.62 IntelliOne 2 161 500 "" "" index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/cisco_cpu_util.php 69.77.183.62 IntelliOne 2 161 500 "" "" query index'
+ Found item [cpuName='No_Such_Instance_currently_exists_at_this_OID'] index: No_Such_Instance_currently_exists_at_this_OID
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/cisco_cpu_util.php 69.77.183.62 IntelliOne 2 161 500 "" "" query cpuIndex'
+ Found item [cpuIndex='1'] index: No_Such_Instance_currently_exists_at_this_OID
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/cisco_cpu_util.php 69.77.183.62 IntelliOne 2 161 500 "" "" query physIndex'
+ Found item [physIndex='0'] index: No_Such_Instance_currently_exists_at_this_OID
+ Found data query XML file at '/usr/share/cacti/site/resource/script_queries/cisco_cpu_util.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_queries/cisco_cpu_util.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_queries/cisco_cpu_util.xml' |
Notice the message No_Such_Instance_currently_exists_at_this_OID. This should look like a familiar message as it is returned when you perform a query on an invalid/non-existent OID. However, in this case I can perform an snmpwalk on each of the OIDs in the script and get a successful response. I'm assuming there is an issue within the handoff of the OIDs somewhere in the process and the string is getting munged.
Has anyone else run into this? |
|