Hobbit MRTG integrqation
Guys, Anybody knows about the problem below
----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM -----
arun.nale at tcs.com 09/12/2005 08:39 AM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject [hobbit] Hobbit MRTG integrqation
Hi Henrik,
I am getting following error in the mrtg.log while integrating mrtg within trends as specified in the hobbit help page. http://localhost/hobbit/help/hobbit-mrtg.html ERROR: writing /usr/local/mrtg/router.ok.ok: Permission denied at /usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1438
Pl. help If i execute the CMD env LANG=C /usr/local/mrtg/bin/mrtg --lock-file /var/log/hobbit/mrtg.lock /usr/local/mrtg/router.cfg as root there is no error.
thanks Arun Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
ForwardSourceID:NT0000A582
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
The process (running as the hobbit user) that is trying to write the MRTG confcache file doesn't have permissions to write to the mrtg/cfg directory. Changing the permissions on the mrtg/cfg dir should fix the problem. Alternatively you could use the --confcache-file option in MRTG to point the cache files to a directory the hobbit user can write to.
Al
arun.nale at tcs.com wrote:
Guys, Anybody knows about the problem below
----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM ----- *arun.nale at tcs.com*
09/12/2005 08:39 AM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject [hobbit] Hobbit MRTG integrqation
Hi Henrik,
I am getting following error in the mrtg.log while integrating mrtg within trends as specified in the hobbit help page. http://localhost/hobbit/help/hobbit-mrtg.html ERROR: writing /usr/local/mrtg/router.ok.ok: Permission denied at /usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1438
Pl. help If i execute the CMD env LANG=C /usr/local/mrtg/bin/mrtg --lock-file /var/log/hobbit/mrtg.lock /usr/local/mrtg/router.cfg as root there is no error.
thanks Arun Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
ForwardSourceID:NT0000A582
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Thanks Al, It is working, but still no graphs seen in the trend column. There is no error in the mrtg.log. The rrd files are created as desired with mrtg.*.DEVICE.rrd format. Thanks Arun
Al Payne <apayne at pleiades.com> 09/13/2005 10:38 AM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Hobbit MRTG integrqation
The process (running as the hobbit user) that is trying to write the MRTG confcache file doesn't have permissions to write to the mrtg/cfg directory. Changing the permissions on the mrtg/cfg dir should fix the problem. Alternatively you could use the --confcache-file option in MRTG to point the cache files to a directory the hobbit user can write to.
Al
arun.nale at tcs.com wrote:
Guys, Anybody knows about the problem below
----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM ----- *arun.nale at tcs.com*
09/12/2005 08:39 AM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject [hobbit] Hobbit MRTG integrqation
Hi Henrik,
I am getting following error in the mrtg.log while integrating mrtg within trends as specified in the hobbit help page. http://localhost/hobbit/help/hobbit-mrtg.html ERROR: writing /usr/local/mrtg/router.ok.ok: Permission denied at /usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1438
Pl. help If i execute the CMD env LANG=C /usr/local/mrtg/bin/mrtg --lock-file /var/log/hobbit/mrtg.lock /usr/local/mrtg/router.cfg as root there is no error.
thanks Arun Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
ForwardSourceID:NT0000A582 Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
ForwardSourceID:NT0000A672
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
participants (2)
-
apayne@pleiades.com
-
arun.nale@tcs.com