[Request] Template ESXi 6.x standalone with Cacti 1.2.x
Moderators: Developers, Moderators
[Request] Template ESXi 6.x standalone with Cacti 1.2.x
Hi all,
VMware (vSphere 5 or higher) has dropped support of SNMP. We can use CIM/SMASH in order to obtain hardware status, etc. We can use their API in order to obtain "higher level" performance stats like CPU utilization, Memory utilization, Disk IO, etc. AFAIK Cacti doesn't have a means for doing either of those.
Does any of you have a template to share to retrieve ESXi metrics without vCenter, please ?
Thank you for your help, regards.
VMware (vSphere 5 or higher) has dropped support of SNMP. We can use CIM/SMASH in order to obtain hardware status, etc. We can use their API in order to obtain "higher level" performance stats like CPU utilization, Memory utilization, Disk IO, etc. AFAIK Cacti doesn't have a means for doing either of those.
Does any of you have a template to share to retrieve ESXi metrics without vCenter, please ?
Thank you for your help, regards.
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
I dont know of any
Hoewver you could write one to pull the data using the script server
your script would call on the vcenter API to get the data and return it
Hoewver you could write one to pull the data using the script server
your script would call on the vcenter API to get the data and return it
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Hi Sean,seanmancini wrote: ↑Sun Jan 17, 2021 10:08 am I dont know of any
Hoewver you could write one to pull the data using the script server
your script would call on the vcenter API to get the data and return it
Glad to see you here again
As I said it would be without using the vCenter, some of my ESXi are in standalone.
It's surprising that nothing exists for Cacti because it would interest a lot of people I guess
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
I think whole plugins have been written to streamline this, but not everyone shares.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
I am always hereoijkn wrote: ↑Sun Jan 17, 2021 10:30 amHi Sean,seanmancini wrote: ↑Sun Jan 17, 2021 10:08 am I dont know of any
Hoewver you could write one to pull the data using the script server
your script would call on the vcenter API to get the data and return it
Glad to see you here again
As I said it would be without using the vCenter, some of my ESXi are in standalone.
It's surprising that nothing exists for Cacti because it would interest a lot of people I guess
Hey I didn't know they axed SNMP on 6.x
in fact I found this procedure to enable it
How to enable SNMP on ESXi 6.x
SSH or Telnet to your ESXi node using root-level credentials.
Execute the following commands. Replace YOUR_STRING with your desired community string.
esxcli system snmp set -r
esxcli system snmp set -c YOUR_STRING
esxcli system snmp set -p 161
esxcli system snmp set -L "City, State, Country"
esxcli system snmp set -C noc@example.com
esxcli system snmp set -e yes
If you selected a community string other than public or private, enter that string into Auvik by following these steps.
If in Step 2 you chose to “Apply these credentials to all devices we discover that meet the criteria below” ensure that:
Device Type = All Device Types
Vendor = All Vendors
Maybe give this a try ?
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
See the links in my signature.seanmancini wrote: ↑Tue Jan 19, 2021 10:06 amI am always hereoijkn wrote: ↑Sun Jan 17, 2021 10:30 amHi Sean,seanmancini wrote: ↑Sun Jan 17, 2021 10:08 am I dont know of any
Hoewver you could write one to pull the data using the script server
your script would call on the vcenter API to get the data and return it
Glad to see you here again
As I said it would be without using the vCenter, some of my ESXi are in standalone.
It's surprising that nothing exists for Cacti because it would interest a lot of people I guess
Hey I didn't know they axed SNMP on 6.x
in fact I found this procedure to enable it
How to enable SNMP on ESXi 6.x
SSH or Telnet to your ESXi node using root-level credentials.
Execute the following commands. Replace YOUR_STRING with your desired community string.
esxcli system snmp set -r
esxcli system snmp set -c YOUR_STRING
esxcli system snmp set -p 161
esxcli system snmp set -L "City, State, Country"
esxcli system snmp set -C noc@example.com
esxcli system snmp set -e yes
If you selected a community string other than public or private, enter that string into Auvik by following these steps.
If in Step 2 you chose to “Apply these credentials to all devices we discover that meet the criteria below” ensure that:
Device Type = All Device Types
Vendor = All Vendors
Maybe give this a try ?
- Attachments
-
- ESXi-graph.zip
- (18.59 KiB) Downloaded 531 times
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: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Hi there,
i try to use you templates, thats show in you signature
download/file.php?id=36808
and i recive some error - when i try to import the esxi_cpu.xml and esxi_hw.xml the system says that
"IMPORT parse_xml_hash ERROR wrong hash format for hash: name" for both files.
what it's can it mean?
and may be you can explain why it's hapening.
Sorry for my English .
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Hit my links: http://www.camerabob.com/cacti
Download the ESXI .zip file and try that. The link you posted was a part of the total package.
Download the ESXI .zip file and try that. The link you posted was a part of the total package.
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: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Hicamerabob wrote: ↑Fri Dec 03, 2021 9:12 am Hit my links: http://www.camerabob.com/cacti
Download the ESXI .zip file and try that. The link you posted was a part of the total package.
Yes, I downloaded exactly these files
and when importing the esxi_cpu & hw file, I get an error with an incorrect hash
I'm using Cacti 1.2.19
-
- Posts: 1
- Joined: Wed May 11, 2022 11:05 pm
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Looks your site is down.camerabob wrote: ↑Fri Dec 03, 2021 9:12 am Hit my links: http://www.camerabob.com/cacti
Download the ESXI .zip file and try that. The link you posted was a part of the total package.
And in the Zip file. 2 files can't import. Log is showing parser "name" is error.
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Yes, my site is down. Thank Verizon. Anyhow, I don't know why you're getting any errors. I am currently using those templates on my system at this time.
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: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Useful Information
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: [Request] Template ESXi 6.x standalone with Cacti 1.2.x
Camerabob,
Is it okay to publish this in the 1.2.23 release of Cacti? I would need to get/find the multi-cpu average script. I'll be changing both to only pass in the device id.
TheWitness
Is it okay to publish this in the 1.2.23 release of Cacti? I would need to get/find the multi-cpu average script. I'll be changing both to only pass in the device id.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests