-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from sexibytes/dev
Update to 0.99e
- Loading branch information
Showing
43 changed files
with
35,866 additions
and
19,802 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
# SexiGraf | ||
[](http://www.sexigraf.fr) | ||
|
||
[](https://gitter.im/sexibytes/sexigraf?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
SexiGraf is a vSphere centric Graphite appliance with a Grafana frontend. | ||
SexiGraf is a fully open-source vSphere centric Graphite VMware appliance with a Grafana frontend. It pulls VI and VSAN metrics from VMware vCenter APIs, push them to Graphite and let Grafana produces the gorgeous dashboards we love so much! | ||
|
||
*Official website for this awesome appliance is available at http://www.sexigraf.fr* | ||
|
||
## VMware VSAN | ||
|
||
The metrics used in the various VSAN dashboards are collected every minutes using to the `QueryVsanStatistics` API method of `HostVsanInternalSystem`. With some json ticks, it is possible to access any metrics from the VSAN cluster. And guess what! We’re already working on other cool SexiPanels for VSAN: http://www.sexigraf.fr/vsan-sexipanels/ | ||
|
||
## VMware vSphere | ||
|
||
Fast. Very fast. That’s what we had in mind when we designed SexiGraf. When you need vSphere metrics, the obvious way is the `PerformanceManager`, but we need something faster so we choosed managed object properties and quickstats like `ResourcePoolQuickStats`. If we have no other choice, we failback to the `PerformanceManager` but we only query the last 15 samples of the `RealTime samplingPeriod` since we pull vSphere metrics every 5 minutes. http://www.sexigraf.fr/vsphere-sexipanels/ | ||
|
||
## FreeNAS | ||
|
||
Starting from version 9.10, FreeNAS allows users to set a “Remote Graphite Server” target to send all the metrics harvested by Collectd. Guess what would make a nice Graphite target! http://www.sexigraf.fr/freenas-sexipanel/ | ||
|
||
## Windows | ||
|
||
Leveraging the built-in Graphite listener of SexiGraf, we introduced Windows support in version 0.99c with basic cpu-ram-hdd metrics : http://www.sexigraf.fr/windows-sexipanel/ | ||
|
||
## HP C7000 | ||
|
||
Soon. http://www.sexigraf.fr/hp-c7000-sexipanels/ | ||
|
||
## S.M.A.R.T. | ||
|
||
Soon. http://www.sexigraf.fr/s-m-a-r-t-sexipanels/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDxzCCAq+gAwIBAgIJAPX4sXSuGLKmMA0GCSqGSIb3DQEBCwUAMHoxCzAJBgNV | ||
BAYTAkZSMQ4wDAYDVQQIDAVQQVJJUzEOMAwGA1UEBwwFUEFSSVMxETAPBgNVBAoM | ||
CFNleGlHcmFmMRcwFQYDVQQDDA5zZXhpZ3JhZi5sb2NhbDEfMB0GCSqGSIb3DQEJ | ||
ARYQcGxvdEBzZXhpZ3JhZi5mcjAeFw0xODA3MjAxMTQzMjJaFw0yODA3MTcxMTQz | ||
MjJaMHoxCzAJBgNVBAYTAkZSMQ4wDAYDVQQIDAVQQVJJUzEOMAwGA1UEBwwFUEFS | ||
SVMxETAPBgNVBAoMCFNleGlHcmFmMRcwFQYDVQQDDA5zZXhpZ3JhZi5sb2NhbDEf | ||
MB0GCSqGSIb3DQEJARYQcGxvdEBzZXhpZ3JhZi5mcjCCASIwDQYJKoZIhvcNAQEB | ||
BQADggEPADCCAQoCggEBAM3gya4TGi7ZxgXybXkqO3TcjejAb9T00O8BuZAeXt+z | ||
2UXeADdj4QEUvXPLABdi17gfBs6zJd2dZwcRq+YBEqSSaljpcQXiQJvbxMrDIEpH | ||
HqptpkZHNNBhic/VGBXRe2KKHUQCnGyqMBeiPZUdhwWQGFVGPiFHXiYZChrjAUTn | ||
vbXyamdhb1CLXwbCUc5PIlp+Gd6gVkPa7qII75AmhrxBsEVN3sqcXLVIRtMxUpw9 | ||
k6OOmAJqg//lBvezACg4HYXJLLGaZSrzFRF1Hp41wnQ6iyih8z9dW6/fHx5LqKw2 | ||
Ud/WMiON+zytjeh/2uoasT7ANaqBkdCNVKPbKv3BlH8CAwEAAaNQME4wHQYDVR0O | ||
BBYEFMyI81uNrVV4xfcvP9KUi66LALpbMB8GA1UdIwQYMBaAFMyI81uNrVV4xfcv | ||
P9KUi66LALpbMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAFxTQq6G | ||
uDViuI1AqlO6T4HnveOdYnzbjmHsPxgczEKGC0KjMjqMmbGxUblxbd+cUcifrXTw | ||
WCaPgidNSUN6vqdyGS8p7veZDlyzSQo4Z4PpU09R+xvWiKnoGi4/VJhM5e4DDxsH | ||
Fvr9cG7d3hIN1e0rl8gCGZKKJ7bj/h463CsDBQRGTsfe/vizzwGXYdXqqtximVRK | ||
bU27TyxZUqLO0fickkRnTXN4fjkn/RZydRYSyU5GQox/AQIWtPSEIl5PI1M03d8d | ||
BgHq2x3X7bgxoE1e1/6gYy03O5JmFCr6maevwGHc1l1E/yJzlESwawxYDhhuZPJV | ||
p+gPqjh+4EZ0A1o= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDN4MmuExou2cYF | ||
8m15Kjt03I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2Ll/85rPTgyTig9R | ||
U88zYWMIVwKBgQDXGutJBd9dX3gMvzZDFMsW2z0VCsOXjEGsaWCycmLKhA6m/zlq | ||
G/gawpfklKkFNgkxV6GWZVTxfjC1m6kgHxs4jE6epSGXqJfFUqgGaGiCc0YN92ZI | ||
EM8YnxvqkJNXSQsgTTRSm/Mb9++Jrmj6f1XDYwQHr6LJlA6YlXjhaHjn2QKBgFOz | ||
Ngh+XPr9O35M32ti3dE7+YY/srGa242wsWVqqZX+sTYqKwLL0KdP+3GWGypWKwJS | ||
acOMpnMymi0zNJ/tfVLZ7ECeaWO7D/w61q1yyWbXcrd1j4+5y3c70oIJYvm0ddFQ | ||
eBqsLPAOrqJlnAEU1QkdRmJLauKehrED/g24OFk9AoGATueftedrWgaFT1cRW6ks | ||
Hr+ysm/6LEczJb3W+alq8hRcjYWfC2Ryrs+/nBXECswm+usl+uDnhzfchZAK1nYS | ||
i5FqRBIClPPxV4YUnw2Yt15mgUXV3ibTiIJcF0g6Vj/pz/dYvT6F655VKjnoHqIo | ||
/RRDdA0DIh52ZlBjxx2Y7go= | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3 */6 * * * root /usr/bin/perl /root/getInventory.pl | ||
3 * * * * root /usr/bin/perl /root/getInventory.pl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/var/log/sexigraf/*.log { | ||
daily | ||
hourly | ||
missingok | ||
rotate 14 | ||
rotate 24 | ||
compress | ||
delaycompress | ||
notifempty | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.99d "Nova Prospekt" | ||
0.99e "White Forest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
if grep -i -q "Nova Prospekt" /etc/sexigraf_version; then | ||
/bin/cp -rf /tmp/sexigraf-update/sexigraf-master/etc/* /etc/ | ||
/bin/cp -rf /tmp/sexigraf-update/sexigraf-master/root/* /root/ | ||
/bin/cp -rf /tmp/sexigraf-update/sexigraf-master/usr/* /usr/ | ||
/bin/cp -rf /tmp/sexigraf-update/sexigraf-master/var/* /var/ | ||
/bin/tar -xzf /root/VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64.tar.gz -C /root | ||
/bin/sed -i 's/ubuntu/debian/g' /root/vmware-vsphere-cli-distrib/vmware-install.pl | ||
yes | PAGER=/bin/cat /root/vmware-vsphere-cli-distrib/vmware-install.pl default | ||
mv /root/genisoimage /usr/bin/ | ||
chmod +x /usr/bin/genisoimage | ||
chown grafana:grafana /var/lib/grafana/dashboards/*.json | ||
mv /etc/cron.daily/logrotate /etc/cron.hourly/ | ||
service grafana-server restart | ||
a2enmod rewrite | ||
a2enmod ssl | ||
rm -rf /root/vmware-vsphere-cli-distrib | ||
rm -f /root/VMware-vSphere-Perl-SDK-6.7.0-8156551.x86_64.tar.gz | ||
rm -f /var/lib/graphite/whisper/vmw/*/*/*/quickstats/vRAM.wsp | ||
echo "Pimp Your Stats!" | ||
apachectl graceful | ||
rm -f /root/099e_update.sh | ||
else | ||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" | ||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" | ||
echo " THIS UPDATE IS NOT SUPPORTED ON YOUR SEXIGRAF VERSION " | ||
echo " PLEASE UPGRADE TO 0.99d AND TRY AGAIN " | ||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" | ||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" | ||
rm -f /root/099e_update.sh | ||
exit 1 | ||
fi |
Oops, something went wrong.