Fortisnmp monitoring -help
Re: Fortisnmp monitoring -help
Hi,
/etc/mrtg/mymrtg.cfg
/etc/mrtg/mymrtg.cfg
are empty ,
as for /etc/mrtg/mrtg.cfg
and /etc/httpd/conf/mrtg.cfg i added the output in a txt file cause it didn't let me submit the message cause it was to long..
Regards,
/etc/mrtg/mymrtg.cfg
/etc/mrtg/mymrtg.cfg
are empty ,
as for /etc/mrtg/mrtg.cfg
and /etc/httpd/conf/mrtg.cfg i added the output in a txt file cause it didn't let me submit the message cause it was to long..
Regards,
- Attachments
-
- etc_httpd_conf_mrtg.cfg.txt
- (57.33 KiB) Downloaded 253 times
-
- etc_mrtg_mrtg.cfg.txt
- (57.65 KiB) Downloaded 268 times
Re: Fortisnmp monitoring -help
In your /etc/mrtg/mrtg.cfg file, you have 2 WorkDir: options setup. Remove the incorrect entry and see if that helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fortisnmp monitoring -help
what is the inncorect one?
i have thous :
WorkDir: /var/www/mrtg
WorkDir: /var/lib/mrtg
i supposed the correct one is
WorkDir: /var/www/mrtg
cause all the logs are there , i did the change and restart nagios.
now what?
is there another process to restart? and why are all the logs at /var/www/mrtg are created once (month ago) and never created again?
see the dates :
i have thous :
WorkDir: /var/www/mrtg
WorkDir: /var/lib/mrtg
i supposed the correct one is
WorkDir: /var/www/mrtg
cause all the logs are there , i did the change and restart nagios.
now what?
is there another process to restart? and why are all the logs at /var/www/mrtg are created once (month ago) and never created again?
see the dates :
Code: Select all
-rw-r--r--. 1 nagios nagios 1511 Jan 19 11:36 172.10.170.99_26-day.png
-rw-r--r--. 1 nagios nagios 6376 Jan 19 11:36 172.10.170.99_26.html
-rw-r--r--. 1 nagios nagios 48217 Jan 19 11:36 172.10.170.99_26.log
-rw-r--r--. 1 nagios nagios 1367 Jan 19 11:35 172.10.170.99_26-month.png
-rw-r--r--. 1 nagios nagios 48213 Jan 19 11:35 172.10.170.99_26.old
-rw-r--r--. 1 nagios nagios 1455 Jan 19 11:35 172.10.170.99_26-week.png
-rw-r--r--. 1 nagios nagios 1742 Jan 19 04:30 172.10.170.99_26-year.png
-rw-r--r--. 1 nagios nagios 1511 Jan 19 11:36 172.10.170.99_2-day.png
-rw-r--r--. 1 nagios nagios 6414 Jan 19 11:36 172.10.170.99_2.html
-rw-r--r--. 1 nagios nagios 48237 Jan 19 11:36 172.10.170.99_2.log
-rw-r--r--. 1 nagios nagios 1367 Jan 19 11:35 172.10.170.99_2-month.png
-rw-r--r--. 1 nagios nagios 48217 Jan 19 11:35 172.10.170.99_2.old
-rw-r--r--. 1 nagios nagios 1455 Jan 19 11:35 172.10.170.99_2-week.png
-rw-r--r--. 1 nagios nagios 1742 Jan 19 04:30 172.10.170.99_2-year.png
-rw-r--r--. 1 nagios nagios 350 Nov 12 2012 favicon.ico
-rw-r--r--. 1 nagios nagios 2772 Jan 19 15:36 index.html
-rw-r--r--. 1 nagios nagios 343 Nov 12 2012 mrtg-l.gif
-rw-r--r--. 1 nagios nagios 538 Nov 12 2012 mrtg-l.png
-rw-r--r--. 1 nagios nagios 1144 Nov 12 2012 mrtg-m.gif
-rw-r--r--. 1 nagios nagios 414 Nov 12 2012 mrtg-m.png
-rw-r--r--. 1 nagios nagios 1779 Nov 12 2012 mrtg-r.gif
-rw-r--r--. 1 nagios nagios 1759 Nov 12 2012 mrtg-r.png
-rw-r--r--. 1 nagios nagios 4696 Nov 12 2012 mrtg-ti.gif
-rw-r--r--. 1 nagios nagios 4293 Nov 12 2012 mrtg-ti.png
Code: Select all
MRTG data has expired (19659 minutes old)
Re: Fortisnmp monitoring -help
Can you run the following and post the output?
Thanks
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ll /var/lock/mrtg/
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fortisnmp monitoring -help
tgriep wrote:Can you run the following and post the output?ThanksCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg ll /var/lock/mrtg/
this is the output:
Code: Select all
root@localhost: ~#LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
root@localhost: ~#ll /var/lock/mrtg/
total 0
root@localhost: ~#
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Fortisnmp monitoring -help
Did the files get updated in /var/www/mrtg after running this?batchen wrote:tgriep wrote:Can you run the following and post the output?ThanksCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg ll /var/lock/mrtg/
this is the output:
Code: Select all
root@localhost: ~#LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg root@localhost: ~#ll /var/lock/mrtg/ total 0 root@localhost: ~#
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Fortisnmp monitoring -help
Box293 wrote:Did the files get updated in /var/www/mrtg after running this?batchen wrote:tgriep wrote:Can you run the following and post the output?ThanksCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg ll /var/lock/mrtg/
this is the output:
Code: Select all
root@localhost: ~#LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg root@localhost: ~#ll /var/lock/mrtg/ total 0 root@localhost: ~#
nope, thay didnt :
Code: Select all
root@localhost: objects#cd /var/www/mrtg/
root@localhost: mrtg#ll
total 288
-rw-r--r--. 1 nagios nagios 1511 Jan 19 11:36 172.10.170.99_26-day.png
-rw-r--r--. 1 nagios nagios 6376 Jan 19 11:36 172.10.170.99_26.html
-rw-r--r--. 1 nagios nagios 48217 Jan 19 11:36 172.10.170.99_26.log
-rw-r--r--. 1 nagios nagios 1367 Jan 19 11:35 172.10.170.99_26-month.png
-rw-r--r--. 1 nagios nagios 48213 Jan 19 11:35 172.10.170.99_26.old
-rw-r--r--. 1 nagios nagios 1455 Jan 19 11:35 172.10.170.99_26-week.png
-rw-r--r--. 1 nagios nagios 1742 Jan 19 04:30 172.10.170.99_26-year.png
-rw-r--r--. 1 nagios nagios 1511 Jan 19 11:36 172.10.170.99_2-day.png
-rw-r--r--. 1 nagios nagios 6414 Jan 19 11:36 172.10.170.99_2.html
-rw-r--r--. 1 nagios nagios 48237 Jan 19 11:36 172.10.170.99_2.log
-rw-r--r--. 1 nagios nagios 1367 Jan 19 11:35 172.10.170.99_2-month.png
-rw-r--r--. 1 nagios nagios 48217 Jan 19 11:35 172.10.170.99_2.old
-rw-r--r--. 1 nagios nagios 1455 Jan 19 11:35 172.10.170.99_2-week.png
-rw-r--r--. 1 nagios nagios 1742 Jan 19 04:30 172.10.170.99_2-year.png
-rw-r--r--. 1 nagios nagios 350 Nov 12 2012 favicon.ico
-rw-r--r--. 1 nagios nagios 2772 Jan 19 15:36 index.html
-rw-r--r--. 1 nagios nagios 343 Nov 12 2012 mrtg-l.gif
-rw-r--r--. 1 nagios nagios 538 Nov 12 2012 mrtg-l.png
-rw-r--r--. 1 nagios nagios 1144 Nov 12 2012 mrtg-m.gif
-rw-r--r--. 1 nagios nagios 414 Nov 12 2012 mrtg-m.png
-rw-r--r--. 1 nagios nagios 1779 Nov 12 2012 mrtg-r.gif
-rw-r--r--. 1 nagios nagios 1759 Nov 12 2012 mrtg-r.png
-rw-r--r--. 1 nagios nagios 4696 Nov 12 2012 mrtg-ti.gif
-rw-r--r--. 1 nagios nagios 4293 Nov 12 2012 mrtg-ti.png
Re: Fortisnmp monitoring -help
Did the file in this folder get updated?
Run the following and post the output.
Run the following and post the output.
Code: Select all
ls -l /var/lib/mrtg
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Fortisnmp monitoring -help
it didnt update as well :tgriep wrote:Did the file in this folder get updated?
Run the following and post the output.Code: Select all
ls -l /var/lib/mrtg
Code: Select all
root@localhost: ~#ls -l /var/lib/mrtg
total 0
-rw-r--r--. 1 root root 0 Jan 19 13:20 mrtg.ok
Re: Fortisnmp monitoring -help
Please run the following so we can get some debug information and post the output here.
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --debug=log,base
ps -ef
Be sure to check out our Knowledgebase for helpful articles and solutions!