monitor inactive vm

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Author
Message
axil76
Posts: 3
Joined: Mon Apr 29, 2013 1:24 am

monitor inactive vm

#1 Post by axil76 » Mon Apr 29, 2013 1:42 am

Hello
I currently use the script (check_vmware_api.pl ) to monitor some vm and
it forces me to declare as a device for monitoring cacti.
for exemple :

Code: Select all

 perl ./vi_vm_cpu.pl vcenter  cacti cacti  Cluster-01 WIN2008
 percent:39.88 percent_m:7.99
my question is : Can we create graphs dynamically and how do ?
to declare one device and monitor all machines in the cluster .
I understandable ?
sorry for my english

axil76
Posts: 3
Joined: Mon Apr 29, 2013 1:24 am

Re: monitor inactive vm

#2 Post by axil76 » Tue Apr 30, 2013 4:41 am

hello
I almost succeeded
Image

Image

Image

just be that I get to retrieve the name of the vm for the graph
What is the variable ?

Image

axil76
Posts: 3
Joined: Mon Apr 29, 2013 1:24 am

Re: monitor inactive vm

#3 Post by axil76 » Tue Apr 30, 2013 6:34 am

I have a problem the script goes a value 29.46

Code: Select all

perl ./vi_vm_cpu.pl vcenter cacti xxxxx Cluster-01 445960AW002
percent:29.46 percent_m:22.69
but in the graph I have not the same value why?
Image

Post Reply