Monitoring Xen via SNMP - update

Ian P. Christian's personal blog

Quicksearch

Recent Entries

Calendar

Back July '09
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
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 31    

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)
I am trying to gauge how stressed the physical CPU is on any one dom0.

If I were to add a TOTAL cdef on the cpu_sec, would it all add up to 1 second on average - for a single core system? and 4 seconds for a quad core?

I have the graph - but I can't share it with you here..

C.
#2 yeled (Homepage) on 2008-07-04 11:28 (Reply)
Hi Ian.

I'm using Xen 3.1 on FC8 and I can't do your template works for my Cacti.

Could you help me?

I've done everything you said here on Dom0. That's right?
Do I have to do something on DomUs?

I would be very grateful if you could help me by mail. I'll use it in my Graduation Project.

Thanks!
#3 Marcel Moreira (Homepage) on 2008-09-24 13:30 (Reply)
Due to a change in my blog, the new address is above.
I wanted to update this page.
Thanks!
Ez-Aton
#4 ez-aton (Homepage) on 2009-02-01 16:39 (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.