<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Install Glances, InfluxDB and Grafana to Monitor CentOS 7	</title>
	<atom:link href="https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Mon, 07 Sep 2020 12:54:55 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Adrian		</title>
		<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361321</link>

		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 12:54:55 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30338#comment-1361321</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361319&quot;&gt;Adrian&lt;/a&gt;.

Additionally, log from /tmp/glances-root.log
&lt;pre&gt;
2020-09-07 14:49:16,798 -- INFO -- Start Glances 3.1.5
2020-09-07 14:49:16,800 -- INFO -- CPython 2.7.5 and psutil 5.6.7 detected
2020-09-07 14:49:32,041 -- INFO -- Start Glances 3.1.5
2020-09-07 14:49:32,044 -- INFO -- CPython 2.7.5 and psutil 5.6.7 detected
2020-09-07 14:49:32,051 -- INFO -- Search glances.conf file in /home/adrian/.config/glances/glances.conf
2020-09-07 14:49:32,059 -- INFO -- Read configuration file &#039;/home/adrian/.config/glances/glances.conf&#039;
2020-09-07 14:49:32,072 -- INFO -- Start GlancesStandalone mode
2020-09-07 14:49:32,303 -- WARNING -- Error loading Docker Python Lib. Docker plugin is disabled (No module named docker)
2020-09-07 14:49:32,304 -- ERROR -- docker plugin - Can not connect to Docker (global name &#039;docker&#039; is not defined)
2020-09-07 14:49:32,305 -- ERROR -- Scandir not found. Please use Python 3.5+ or install the scandir lib
2020-09-07 14:49:32,306 -- WARNING -- Missing Python Lib (No module named py3nvml.py3nvml), Nvidia GPU plugin is disabled
2020-09-07 14:49:32,309 -- WARNING -- Missing Python Lib (No module named netifaces), IP plugin is disabled
2020-09-07 14:49:32,345 -- WARNING -- Sparklines module not found (No module named sparklines)
2020-09-07 14:49:32,346 -- WARNING -- UTF-8 is mandatory for sparklines (encode() argument 1 must be string, not None)
2020-09-07 14:49:32,346 -- WARNING -- Missing Python Lib (No module named cpuinfo), Quicklook plugin will not display CPU info
2020-09-07 14:49:32,347 -- WARNING -- Missing Python Lib (No module named pymdstat), Raid plugin is disabled
2020-09-07 14:49:32,354 -- WARNING -- Missing Python Lib (No module named pySMART), HDD Smart plugin is disabled
2020-09-07 14:49:32,357 -- WARNING -- Missing Python Lib (No module named wifi.scan), Wifi plugin is disabled
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361319">Adrian</a>.</p>
<p>Additionally, log from /tmp/glances-root.log</p>
<pre>
2020-09-07 14:49:16,798 -- INFO -- Start Glances 3.1.5
2020-09-07 14:49:16,800 -- INFO -- CPython 2.7.5 and psutil 5.6.7 detected
2020-09-07 14:49:32,041 -- INFO -- Start Glances 3.1.5
2020-09-07 14:49:32,044 -- INFO -- CPython 2.7.5 and psutil 5.6.7 detected
2020-09-07 14:49:32,051 -- INFO -- Search glances.conf file in /home/adrian/.config/glances/glances.conf
2020-09-07 14:49:32,059 -- INFO -- Read configuration file '/home/adrian/.config/glances/glances.conf'
2020-09-07 14:49:32,072 -- INFO -- Start GlancesStandalone mode
2020-09-07 14:49:32,303 -- WARNING -- Error loading Docker Python Lib. Docker plugin is disabled (No module named docker)
2020-09-07 14:49:32,304 -- ERROR -- docker plugin - Can not connect to Docker (global name 'docker' is not defined)
2020-09-07 14:49:32,305 -- ERROR -- Scandir not found. Please use Python 3.5+ or install the scandir lib
2020-09-07 14:49:32,306 -- WARNING -- Missing Python Lib (No module named py3nvml.py3nvml), Nvidia GPU plugin is disabled
2020-09-07 14:49:32,309 -- WARNING -- Missing Python Lib (No module named netifaces), IP plugin is disabled
2020-09-07 14:49:32,345 -- WARNING -- Sparklines module not found (No module named sparklines)
2020-09-07 14:49:32,346 -- WARNING -- UTF-8 is mandatory for sparklines (encode() argument 1 must be string, not None)
2020-09-07 14:49:32,346 -- WARNING -- Missing Python Lib (No module named cpuinfo), Quicklook plugin will not display CPU info
2020-09-07 14:49:32,347 -- WARNING -- Missing Python Lib (No module named pymdstat), Raid plugin is disabled
2020-09-07 14:49:32,354 -- WARNING -- Missing Python Lib (No module named pySMART), HDD Smart plugin is disabled
2020-09-07 14:49:32,357 -- WARNING -- Missing Python Lib (No module named wifi.scan), Wifi plugin is disabled
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adrian		</title>
		<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361319</link>

		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 12:49:38 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30338#comment-1361319</guid>

					<description><![CDATA[&lt;pre&gt;
[root@mail ~]# systemctl status glances
&lt;/pre&gt;
&lt;h5&gt;Sample Output&lt;/h5&gt;
&lt;pre&gt;
● glances.service - Glances
   Loaded: loaded (/etc/systemd/system/glances.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2020-09-07 14:40:36 CEST; 16s ago
  Process: 3347 ExecStart=/usr/bin/glances --config /home/adrian/.config/glances/glances.conf --quiet --export-influxdb --disable-plugin ip (code=exited, status=2)
 Main PID: 3347 (code=exited, status=2)

Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: glances.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: Unit glances.service entered failed state.
Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: glances.service failed.

glances: error: unrecognized arguments: --export-influxdb
Sep  7 14:44:39 mail systemd[1]: glances.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep  7 14:44:39 mail systemd[1]: Unit glances.service entered failed state.
Sep  7 14:44:39 mail systemd[1]: glances.service failed.
Sep  7 14:44:48 mail systemd[1]: Reloading.
Sep  7 14:44:55 mail systemd[1]: Stopped Glances.
Sep  7 14:45:01 mail systemd[1]: Started Glances.
Sep  7 14:45:03 mail glances[3458]: Traceback (most recent call last):
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/bin/glances&quot;, line 9, in 
Sep  7 14:45:03 mail glances[3458]: load_entry_point(&#039;Glances==3.1.5&#039;, &#039;console_scripts&#039;, &#039;glances&#039;)()
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/__init__.py&quot;, line 143, in main
Sep  7 14:45:03 mail glances[3458]: start(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/__init__.py&quot;, line 108, in start
Sep  7 14:45:03 mail glances[3458]: mode = GlancesMode(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/standalone.py&quot;, line 51, in __init__
Sep  7 14:45:03 mail glances[3458]: self.stats = GlancesStats(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/stats.py&quot;, line 48, in __init__
Sep  7 14:45:03 mail glances[3458]: self.load_modules(self.args)
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/stats.py&quot;, line 103, in load_modules
Sep  7 14:45:03 mail glances[3458]: self.load_exports(args=args)
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/stats.py&quot;, line 178, in load_exports
Sep  7 14:45:03 mail glances[3458]: export_module = __import__(self._exports_all[export_name])
Sep  7 14:45:03 mail glances[3458]: File &quot;/usr/lib/python2.7/site-packages/glances/exports/glances_influxdb.py&quot;, line 27, in 
Sep  7 14:45:03 mail glances[3458]: from influxdb import InfluxDBClient
Sep  7 14:45:03 mail glances[3458]: ImportError: No module named influxdb
Sep  7 14:45:05 mail systemd[1]: glances.service: main process exited, code=exited, status=1/FAILURE
Sep  7 14:45:05 mail systemd[1]: Unit glances.service entered failed state.
Sep  7 14:45:05 mail systemd[1]: glances.service failed.
Sep  7 14:45:05 mail dbus[498]: [system] Activating service name=&#039;org.fedoraproject.Setroubleshootd&#039; (using servicehelper)
Sep  7 14:45:07 mail dbus[498]: [system] Successfully activated service &#039;org.fedoraproject.Setroubleshootd&#039;
Sep  7 14:45:10 mail setroubleshoot: SELinux is preventing /usr/bin/python2.7 
from read access on the file disable_ipv6. For complete SELinux messages run: sealert -l 66e1e5bf-322d-4bd9-911e
-c580274a0951
&lt;/pre&gt;
Seems I need to play with SELinux using my article from my own website LOL.
&lt;pre&gt;
cat /etc/systemd/system/glances.service
[Unit]
Description=Glances
After=network.target influxd.service

[Service]
ExecStart=/usr/bin/glances --config /home/adrian/.config/glances/glances.conf --quiet --export-influxdb --disable-plugin ip
Restart=on-failure
RestartSec=30s
TimeoutSec=30s

[Install]
WantedBy=multi-user.target
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<pre>
[root@mail ~]# systemctl status glances
</pre>
<h5>Sample Output</h5>
<pre>
● glances.service - Glances
   Loaded: loaded (/etc/systemd/system/glances.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2020-09-07 14:40:36 CEST; 16s ago
  Process: 3347 ExecStart=/usr/bin/glances --config /home/adrian/.config/glances/glances.conf --quiet --export-influxdb --disable-plugin ip (code=exited, status=2)
 Main PID: 3347 (code=exited, status=2)

Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: glances.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: Unit glances.service entered failed state.
Sep 07 14:40:36 mail.sysyadmin.info.pl systemd[1]: glances.service failed.

glances: error: unrecognized arguments: --export-influxdb
Sep  7 14:44:39 mail systemd[1]: glances.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep  7 14:44:39 mail systemd[1]: Unit glances.service entered failed state.
Sep  7 14:44:39 mail systemd[1]: glances.service failed.
Sep  7 14:44:48 mail systemd[1]: Reloading.
Sep  7 14:44:55 mail systemd[1]: Stopped Glances.
Sep  7 14:45:01 mail systemd[1]: Started Glances.
Sep  7 14:45:03 mail glances[3458]: Traceback (most recent call last):
Sep  7 14:45:03 mail glances[3458]: File "/usr/bin/glances", line 9, in 
Sep  7 14:45:03 mail glances[3458]: load_entry_point('Glances==3.1.5', 'console_scripts', 'glances')()
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/__init__.py", line 143, in main
Sep  7 14:45:03 mail glances[3458]: start(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/__init__.py", line 108, in start
Sep  7 14:45:03 mail glances[3458]: mode = GlancesMode(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/standalone.py", line 51, in __init__
Sep  7 14:45:03 mail glances[3458]: self.stats = GlancesStats(config=config, args=args)
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/stats.py", line 48, in __init__
Sep  7 14:45:03 mail glances[3458]: self.load_modules(self.args)
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/stats.py", line 103, in load_modules
Sep  7 14:45:03 mail glances[3458]: self.load_exports(args=args)
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/stats.py", line 178, in load_exports
Sep  7 14:45:03 mail glances[3458]: export_module = __import__(self._exports_all[export_name])
Sep  7 14:45:03 mail glances[3458]: File "/usr/lib/python2.7/site-packages/glances/exports/glances_influxdb.py", line 27, in 
Sep  7 14:45:03 mail glances[3458]: from influxdb import InfluxDBClient
Sep  7 14:45:03 mail glances[3458]: ImportError: No module named influxdb
Sep  7 14:45:05 mail systemd[1]: glances.service: main process exited, code=exited, status=1/FAILURE
Sep  7 14:45:05 mail systemd[1]: Unit glances.service entered failed state.
Sep  7 14:45:05 mail systemd[1]: glances.service failed.
Sep  7 14:45:05 mail dbus[498]: [system] Activating service name='org.fedoraproject.Setroubleshootd' (using servicehelper)
Sep  7 14:45:07 mail dbus[498]: [system] Successfully activated service 'org.fedoraproject.Setroubleshootd'
Sep  7 14:45:10 mail setroubleshoot: SELinux is preventing /usr/bin/python2.7 
from read access on the file disable_ipv6. For complete SELinux messages run: sealert -l 66e1e5bf-322d-4bd9-911e
-c580274a0951
</pre>
<p>Seems I need to play with SELinux using my article from my own website LOL.</p>
<pre>
cat /etc/systemd/system/glances.service
[Unit]
Description=Glances
After=network.target influxd.service

[Service]
ExecStart=/usr/bin/glances --config /home/adrian/.config/glances/glances.conf --quiet --export-influxdb --disable-plugin ip
Restart=on-failure
RestartSec=30s
TimeoutSec=30s

[Install]
WantedBy=multi-user.target
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adrian		</title>
		<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361318</link>

		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 12:42:49 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30338#comment-1361318</guid>

					<description><![CDATA[Can you review the post? Still have issues with the glances. Even after reading all comments and changing the entry in service for glances. 

None of the solutions works.]]></description>
			<content:encoded><![CDATA[<p>Can you review the post? Still have issues with the glances. Even after reading all comments and changing the entry in service for glances. </p>
<p>None of the solutions works.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Adrian		</title>
		<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1361309</link>

		<dc:creator><![CDATA[Adrian]]></dc:creator>
		<pubDate>Mon, 07 Sep 2020 12:02:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30338#comment-1361309</guid>

					<description><![CDATA[Proper grafana repo:
&lt;pre&gt;
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>Proper grafana repo:</p>
<pre>
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sean Chiarot		</title>
		<link>https://www.tecmint.com/install-glances-influxdb-grafana-to-monitor-centos-7/comment-page-1/#comment-1249243</link>

		<dc:creator><![CDATA[Sean Chiarot]]></dc:creator>
		<pubDate>Fri, 20 Sep 2019 16:46:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=30338#comment-1249243</guid>

					<description><![CDATA[Hmmm, I followed this but all I see is &#039;No Data points&#039;]]></description>
			<content:encoded><![CDATA[<p>Hmmm, I followed this but all I see is &#8216;No Data points&#8217;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
