ESXi 5.x template - no perl SDK, pure snmp
Moderators: Developers, Moderators
Re: ESXi 5.x template - no perl SDK, pure snmp
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 !
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 (40.88 KiB) Viewed 7622 times
Re: ESXi 5.x template - no perl SDK, pure snmp
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
Let the Cacti grow!
Re: ESXi 5.x template - no perl SDK, pure snmp
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)
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)
Re: ESXi 5.x template - no perl SDK, pure snmp
thank you, I will release new version (maybe next week) and there will be fix for this.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)
Let the Cacti grow!
Re: ESXi 5.x template - no perl SDK, pure snmp
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 vendoravantat 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!
Let the Cacti grow!
Re: ESXi 5.x template - no perl SDK, pure snmp
Replace $value[value] to $value["value"]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)
Me also problem to show memory.
Edit : https://kb.vmware.com/selfservice/micro ... Id=2144598
- Attachments
-
- ss_esxi_vhosts.zip
- (944 Bytes) Downloaded 462 times
Re: ESXi 5.x template - no perl SDK, pure snmp
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
In my case this value were on line 33, 40 and 42
Re: ESXi 5.x template - no perl SDK, pure snmp
I had the same with Cacti 1.1.28, fixed the same way.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
Re: ESXi 5.x template - no perl SDK, pure snmp
I can confirm that this template works for an ESXi 6.5.0u1.
Re: ESXi 5.x template - no perl SDK, pure snmp
Hi,
I'm new at cacti. I'm running Cacti 1.1.29 with this script to monitor ESXi 6.5. Works like a charm.
But i am not able to aggregate both CPU cores in one graph with different colours. Can anybody help me?
I'm new at cacti. I'm running Cacti 1.1.29 with this script to monitor ESXi 6.5. Works like a charm.
But i am not able to aggregate both CPU cores in one graph with different colours. Can anybody help me?
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 5.x template - no perl SDK, pure snmp
See the bottom of page #1 in this thread for the average CPU template for ESXi.Hi,
I'm new at cacti. I'm running Cacti 1.1.29 with this script to monitor ESXi 6.5. Works like a charm.
But i am not able to aggregate both CPU cores in one graph with different colours. Can anybody help me?
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 5.x template - no perl SDK, pure snmp
Hi I'm new to Cacti, and am trying to graph stats to use in a weathermap. I'm scratching my head trying to work out how to graph vmhba adapters?
Using this template, I get all my vmnic's just fine, as you can see here:
How could I get the vmhba adapters to also appear in this auto generated list?
Using this template, I get all my vmnic's just fine, as you can see here:
How could I get the vmhba adapters to also appear in this auto generated list?
Re: ESXi 5.x template - no perl SDK, pure snmp
The list that you have there is for interfaces, as in network interfaces. Aren't vmhba hard drive's? If so, you need to look at the disks instead.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 5.x template - no perl SDK, pure snmp
HBA is Host Bus Adapter, where the media plugs in.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 5.x template - no perl SDK, pure snmp
Point is, in the web UI of ESXI, you can view vmhba adapters in a simular view to vmnics, so can cacti get the same data? (see pics attached).
- Attachments
-
- vmhba chart
- vmhba chart.PNG (211.25 KiB) Viewed 4924 times
-
- vmnic chart
- vmnic chart.PNG (116.89 KiB) Viewed 4924 times
Who is online
Users browsing this forum: No registered users and 1 guest