Hobbit MRTG integrqation
list Arun Sopanrao Nale
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
list Arun Sopanrao Nale
Guys, Anybody knows about the problem below ----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM ----- user-329612cb6ba1@xymon.invalid 09/12/2005 08:39 AM Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid 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
list Al Payne
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
▸
user-329612cb6ba1@xymon.invalid wrote:
Guys, Anybody knows about the problem below ----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM ----- *user-329612cb6ba1@xymon.invalid* 09/12/2005 08:39 AM Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid 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
list Arun Sopanrao Nale
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 <user-e04c196eafdf@xymon.invalid> 09/13/2005 10:38 AM Please respond to user-ae9b8668bcde@xymon.invalid To user-ae9b8668bcde@xymon.invalid 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
user-329612cb6ba1@xymon.invalid wrote:
Guys, Anybody knows about the problem below
----- Forwarded by Arun Nale/MUM/TCS on 09/13/2005 08:10 AM -----
*user-329612cb6ba1@xymon.invalid*
09/12/2005 08:39 AM
Please respond to
user-ae9b8668bcde@xymon.invalid
To
user-ae9b8668bcde@xymon.invalid
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
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