Not getting any output of Bandwidth
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
getting error while running yum install mlocate -y. Alos RRDs.pm file not available.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not getting any output of Bandwidth
This looks like your yum repos may be a bit messed up..
Lets try
Lets try
Code: Select all
find /opt | grep "RRDs.pm"-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
nothing output of same command
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
[root@EMSNagios1 libexec]# service rrdcached status
rrdcached: unrecognized service
rrdcached: unrecognized service
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
today, i have add 1 router, but by default rrd file not created and getting error. Now we have upgrade NagiosXI 11 to NagiosXI 12.
/var/lib/mrtg/10.225.23.21_3.rrd does not exist.
/var/lib/mrtg/10.225.23.21_3.rrd does not exist.
Re: Not getting any output of Bandwidth
What version of Red Hat is this installed on?
There seems to be a problem with yum on your system,
There seems to be a problem with yum on your system,
You may need to contact Red Hat support with this error message that you're getting, it's going to make it difficult to troubleshoot this further without yum working, and with those missing packages.Loaded plugins: aliases, changelog, downloadonly, kabi, product-id, rhnplugin,
: security, subscription-manager, tmprepo, verify, versionlock
Updating certificate-based repositories.
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading support for Red Hat kernel ABI
Code: Select all
Loading support for Red Hat kernel ABI
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 285, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 136, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 434, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in _getTsIn fo
pkgSack = self.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 897, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 682, in _getSack s
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 294, in populateSac k
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 165, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 223, in _check_db _version
return repo._check_db_version(mdtype)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1256, in _check_d b_version
repoXML = self.repoXML
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1455, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1447, in _getRepo XML
self._loadRepoXML(text=self)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1437, in _loadRep oXML
return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1412, in _groupLo adRepoXML
if self._commonLoadRepoXML(text):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1225, in _commonL oadRepoXML
if self._latestRepoXML(local):
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1194, in _latestR epoXML
oxml = self._saveOldRepoXML(local)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1053, in _saveOld RepoXML
xml = self._parseRepoXML(old_local, True)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1036, in _parseRe poXML
return repoMDObject.RepoMD(self.id, local)
File "/usr/lib/python2.6/site-packages/yum/repoMDObject.py", line 124, in __in it__
self.parse(srcfile)
File "/usr/lib/python2.6/site-packages/yum/repoMDObject.py", line 143, in pars e
for event, elem in parser:
File "<string>", line 58, in __iter__
RuntimeError: cannot load dispatch table from pyexpat-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
Now yum is working fine, after i have try to install
yum install mlocate -y
Package mlocate-0.22.2-3.el6.x86_64 already installed and latest version
then i have reinstall this package and did updatedb and locate RRDs.pm, but did not get any output. I think RRDs.pm not available. Also getting rrdcached error
[root@EMSNagios1 ~]# service rrdcached status
rrdcached: unrecognized service
currently we installed below rrd packages.
[root@EMSNagios1 ~]# rpm -qa rrd*
rrdtool-php-1.3.8-6.el6.x86_64
rrdtool-debuginfo-1.3.8-6.el6.x86_64
rrdutils-5.2.1-1.el6.rf.noarch
rrdtool-doc-1.3.8-6.el6.x86_64
rrdtool-ruby-1.3.8-6.el6.x86_64
rrdtool-devel-1.3.8-6.el6.x86_64
rrdtool-python-1.3.8-6.el6.x86_64
rrdtool-perl-1.3.8-6.el6.x86_64
rrdtool-tcl-1.3.8-6.el6.x86_64
rrdtool-1.3.8-6.el6.x86_64
yum install mlocate -y
Package mlocate-0.22.2-3.el6.x86_64 already installed and latest version
then i have reinstall this package and did updatedb and locate RRDs.pm, but did not get any output. I think RRDs.pm not available. Also getting rrdcached error
[root@EMSNagios1 ~]# service rrdcached status
rrdcached: unrecognized service
currently we installed below rrd packages.
[root@EMSNagios1 ~]# rpm -qa rrd*
rrdtool-php-1.3.8-6.el6.x86_64
rrdtool-debuginfo-1.3.8-6.el6.x86_64
rrdutils-5.2.1-1.el6.rf.noarch
rrdtool-doc-1.3.8-6.el6.x86_64
rrdtool-ruby-1.3.8-6.el6.x86_64
rrdtool-devel-1.3.8-6.el6.x86_64
rrdtool-python-1.3.8-6.el6.x86_64
rrdtool-perl-1.3.8-6.el6.x86_64
rrdtool-tcl-1.3.8-6.el6.x86_64
rrdtool-1.3.8-6.el6.x86_64
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
Hi,
Now i have installed rrdcahced, also i have add RRDs.pm path in mrtg.cfg, but still bandwidth showing 0 only.
[root@EMSNagios1 tmp]# find /opt | grep "RRDs.pm"
/opt/rrdtool-1.4.4/lib/perl/5.10.1/x86_64-linux-thread-multi/RRDs.pm
[root@EMSNagios1 tmp]# service rrdcached status
rrdcached (pid 22087) is running...
[root@EMSNagios1 tmp]# more /etc/mrtg/mrtg.cfg
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
Now i have installed rrdcahced, also i have add RRDs.pm path in mrtg.cfg, but still bandwidth showing 0 only.
[root@EMSNagios1 tmp]# find /opt | grep "RRDs.pm"
/opt/rrdtool-1.4.4/lib/perl/5.10.1/x86_64-linux-thread-multi/RRDs.pm
[root@EMSNagios1 tmp]# service rrdcached status
rrdcached (pid 22087) is running...
[root@EMSNagios1 tmp]# more /etc/mrtg/mrtg.cfg
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: Not getting any output of Bandwidth
Thanks Team for support. It is working now.