Monitoring Xen via SNMP - update

Ian P. Christian's personal blog

Quicksearch

Calendar

Back September '08 Forward
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Blog Administration


Trackbacks

No Trackbacks

Comments
Display comments as (Linear | Threaded)

Hi,

I am missing something.. but I try not to think too hard about PHP:

+ Executing script query '/usr/bin/php /usr/share/cacti/site/scripts/xen_cloud_stats.php query xen_name'
+ Found item [xen_name=' Call to undefined function snmp_set_valueretrieval() in /usr/share/cacti/site/scripts/xen_cloud_stats.php on line 73'] index: Fatal error
#1 yeled (Homepage) on 2008-07-02 15:12 (Reply)
Your PHP install doesn't have SNMP support. Install the module, or recompile, or whatever you need to do for your chosen distro :-)
#1.1 Ian P. Christian (Homepage) on 2008-07-02 15:15 (Reply)
wow i'm a complete doofus!

thanks - did i mention that? :-)
#1.1.1 yeled (Homepage) on 2008-07-02 15:25 (Reply)
Hello,

I have installed cacti to make use of your work here. When i try to import the template 'cacti_data_query_xen_cloud.xml' file into cacti i get an error: "Error: XML: Hash version does not exist."

Also if i run the command from the previos posts: '/usr/bin/php /usr/share/cacti/site/scripts/xen_cloud_stats.php query xen_name'

i get the error: "Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/share/cacti/site/scripts/xen_cload_stats.php on line 27"

am i missing something?
#1.1.1.1 steve on 2008-08-18 20:54 (Reply)
if you're trying to use PHP4, that would probably explain it. I'm not sure I do anything that's specifically PHP4, but I WILL NEVER write PHP4 compatable code ever again ;-)

I've no idea what the hash problem is about, if you can't get it working drop me a mail for my consultancy rates. Good luck!
#1.1.1.1.1 Ian P. Christian (Homepage) on 2008-08-18 23:01 (Reply)

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
 
Submitted comments will be subject to moderation before being displayed.