Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jan 22, 2018 8:42 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Wed Aug 31, 2016 1:41 am 
Offline

Joined: Wed Jul 06, 2016 2:09 pm
Posts: 6
Hello,

Sorry for the delay, I was on vacation for the past two weeks.

2) copy file scripts/ss_esxi_vhosts.php to your_cacti_instalation/scripts/ > OK : rwxr-xr-x for root
3) copy files resource/snmp_queries to your_cacti_instalation/resource/snmp_queries/ > OK : rwxr-xr-x for root

Data Query ESXI - hw " shows only empty graphs
For example : (see picture)

Thanks for your help !


Attachments:
bug cacti.PNG
bug cacti.PNG [ 40.88 KiB | Viewed 2400 times ]
Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Tue Sep 20, 2016 6:40 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 111
Location: Czech
Ololz wrote:
Hello,

Sorry for the delay, I was on vacation for the past two weeks.

2) copy file scripts/ss_esxi_vhosts.php to your_cacti_instalation/scripts/ > OK : rwxr-xr-x for root
3) copy files resource/snmp_queries to your_cacti_instalation/resource/snmp_queries/ > OK : rwxr-xr-x for root

Data Query ESXI - hw " shows only empty graphs
For example : (see picture)

Thanks for your help !



I found problem. My template for ESXi doesn't not support nothing like HW state CPU pkg/ID/Node. I guess that you install another vmware template and mixed both templates together

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Tue Oct 04, 2016 11:04 am 
Offline
Cacti User

Joined: Mon Sep 10, 2012 5:54 pm
Posts: 75
I keep getting this error in the cacti log:

2016-10-04 10:36:00 - ERROR PHP NOTICE: Use of undefined constant value - assumed 'value' in file: /var/www/html/cacti/scripts/ss_esxi_vhosts.php on line: 33
2016-10-04 10:36:00 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 221 call_user_func_array)(ss_esxi_vhosts)(/scripts/ss_esxi_vhosts.php: 33 CactiErrorHandler)(/lib/functions.php: 4165 cacti_debug_backtrace)


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Tue Nov 22, 2016 2:29 pm 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 111
Location: Czech
smiles wrote:
I keep getting this error in the cacti log:

2016-10-04 10:36:00 - ERROR PHP NOTICE: Use of undefined constant value - assumed 'value' in file: /var/www/html/cacti/scripts/ss_esxi_vhosts.php on line: 33
2016-10-04 10:36:00 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 221 call_user_func_array)(ss_esxi_vhosts)(/scripts/ss_esxi_vhosts.php: 33 CactiErrorHandler)(/lib/functions.php: 4165 cacti_debug_backtrace)


thank you, I will release new version (maybe next week) and there will be fix for this.

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Fri Dec 23, 2016 5:04 am 
Offline
Cacti User

Joined: Tue Mar 18, 2008 2:30 am
Posts: 111
Location: Czech
avantat wrote:
That could be. We are running Dell servers with a customized image. I'm upgrading them to ESXi 6.x later this year, possibly I get the real memory there.
Thanks again for the great template though!


Yesterday I updated my ESXi (from 5.5. to 6.0) on HP Proliant and result is that Real memory disapeared. So it depends on ESXi version too, not only vendor

_________________
Author of:
FreeBSD template
ESXi template
Intropage plugin
Multicore CPU average graph
HP MSM wifi controller 7xx
TopX plugin


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Thu Feb 16, 2017 9:57 am 
Offline

Joined: Fri Aug 30, 2013 1:39 am
Posts: 2
smiles wrote:
I keep getting this error in the cacti log:

2016-10-04 10:36:00 - ERROR PHP NOTICE: Use of undefined constant value - assumed 'value' in file: /var/www/html/cacti/scripts/ss_esxi_vhosts.php on line: 33
2016-10-04 10:36:00 - CMDPHP PHP ERROR NOTICE Backtrace: (/script_server.php: 221 call_user_func_array)(ss_esxi_vhosts)(/scripts/ss_esxi_vhosts.php: 33 CactiErrorHandler)(/lib/functions.php: 4165 cacti_debug_backtrace)


Replace $value[value] to $value["value"]

Me also problem to show memory.
Edit : https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2144598


Attachments:
ss_esxi_vhosts.zip [944 Bytes]
Downloaded 222 times
Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Fri Sep 08, 2017 6:41 am 
Offline

Joined: Fri Sep 08, 2017 6:38 am
Posts: 2
Replace $value[value] to $value["value"] at ss_esxi_vhosts.php solved my problem.

In my case this value were on line 33, 40 and 42


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Thu Jan 04, 2018 12:35 am 
Offline

Joined: Tue Apr 12, 2016 8:45 pm
Posts: 13
rcsmota wrote:
Replace $value[value] to $value["value"] at ss_esxi_vhosts.php solved my problem.

In my case this value were on line 33, 40 and 42


I had the same with Cacti 1.1.28, fixed the same way.


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Thu Jan 04, 2018 12:36 am 
Offline

Joined: Tue Apr 12, 2016 8:45 pm
Posts: 13
I can confirm that this template works for an ESXi 6.5.0u1.


Top
 Profile  
 
 Post subject: Re: ESXi 5.x template - no perl SDK, pure snmp
PostPosted: Thu Jan 04, 2018 12:03 pm 
Offline

Joined: Thu Jan 04, 2018 11:55 am
Posts: 1
Location: Germany
Hi,

I'm new at cacti. :roll: I'm running Cacti 1.1.29 with this script to monitor ESXi 6.5. Works like a charm. :D

But i am not able to aggregate both CPU cores in one graph with different colours. Can anybody help me?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group