Regarding Tunnel interface graph not polling
Re: Regarding Tunnel interface graph not polling
dear Team
i have deleted the said file and waited almost 20 min but still no value showing in performance data
i have deleted the said file and waited almost 20 min but still no value showing in performance data
You do not have the required permissions to view the files attached to this post.
Re: Regarding Tunnel interface graph not polling
Appreciate your update on this regards
Re: Regarding Tunnel interface graph not polling
Try running the following on the command line:
(make sure to replace the rrd file name with the name of the file name for the interface you're trying to monitor).
Code: Select all
su - nagios
/usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/188.231.0.199_1.rrd -w 5.00,5.00 -c 8.00,8.00 -l BAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Regarding Tunnel interface graph not polling
Dear Team
kindly find the output as below
kindly find the output as below
Code: Select all
[nagios@nagios ~]$ /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/188.231.0.199_36.rrd -w 5.00,5.00 -c 8.00,8.00 -l B
OK - Current BW in: 0Bbps Out: 0Bbps|in=0Bb/s;5.00;8.00 out=0Bb/s;5.00;8.00Re: Regarding Tunnel interface graph not polling
Can you send me a copy of /var/lib/mrtg/188.231.0.199_36.rrd ?
The cron job may not be running - is there anything in /var/log/cron? /etc/cron.d/mrtg should contain:
The cron job may not be running - is there anything in /var/log/cron? /etc/cron.d/mrtg should contain:
Code: Select all
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Regarding Tunnel interface graph not polling
Dear Team
below output can see in /etc/cron.d/mrtg file and also find the attached of rdd and mrtg file.
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios --user=nagios --group=nagios
below output can see in /etc/cron.d/mrtg file and also find the attached of rdd and mrtg file.
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios --user=nagios --group=nagios
You do not have the required permissions to view the files attached to this post.
Re: Regarding Tunnel interface graph not polling
There is a duplication in the mrtg cron file so edit the /etc/cron.d/mrtg file and change this from
to
Save the change and restart cron by running
I have question, what is the Speed settings for the tunnel interface?
If the speed is set to Gigabytes, then edit this file
Change this line from
to
Comment out this line
Save it out and let the system gather data for 20 to 30 minutes and see if the graphs start to populate for that interface.
Code: Select all
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios --user=nagios --group=nagiosCode: Select all
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagiosCode: Select all
service crond restartIf the speed is set to Gigabytes, then edit this file
Code: Select all
/etc/mrtg/conf.d/188.231.0.199.cfgCode: Select all
MaxBytes[188.231.0.199_36]: 12500Code: Select all
MaxBytes[188.231.0.199_36]: 125000000Code: Select all
noHC[188.231.0.199_36]: yesBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Regarding Tunnel interface graph not polling
Hi Team,
We have done the changes as requested, but the result is same. The graph is not polling properly.
cat /etc/cron.d/mrtg
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios
Thanks
We have done the changes as requested, but the result is same. The graph is not polling properly.
cat /etc/cron.d/mrtg
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios
Thanks
You do not have the required permissions to view the files attached to this post.
Re: Regarding Tunnel interface graph not polling
Is the graph you posted using the 188.231.0.199_36.rrd file for the check?
What is the speed setting for the Tunnel interface? Is it set to Kilo, Mega, Giga bits?
Can you run the following command and post the /tmp/mrtg.tgz file so we can check the MRTG configuration files?
Get the following file as well so we can view the service configurations and verify that the files and settings we are changing are the correct ones.
What is the speed setting for the Tunnel interface? Is it set to Kilo, Mega, Giga bits?
Can you run the following command and post the /tmp/mrtg.tgz file so we can check the MRTG configuration files?
Code: Select all
tar cvfz /tmp/mrtg.tgz /etc/mrtg/*
Code: Select all
/usr/local/nagios/var/objects.cacheBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Regarding Tunnel interface graph not polling
dear team
kindly find the attached file and query answer as follows
Is the graph you posted using the 188.231.0.199_36.rrd file for the check?
>>>Yes
What is the speed setting for the Tunnel interface? Is it set to Kilo, Mega, Giga bits?
>> By default its 1024 kbps
kindly find the attached file and query answer as follows
Is the graph you posted using the 188.231.0.199_36.rrd file for the check?
>>>Yes
What is the speed setting for the Tunnel interface? Is it set to Kilo, Mega, Giga bits?
>> By default its 1024 kbps
You do not have the required permissions to view the files attached to this post.