Xymon Mailing List Archive search

Hobbit MRTG integrqation

4 messages in this thread

list Arun Sopanrao Nale · Mon, 12 Sep 2005 08:39:16 +0530 ·
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 · Tue, 13 Sep 2005 08:10:07 +0530 ·
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
quoted from 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

ForwardSourceID:NT0000A582 
quoted from Arun Sopanrao Nale
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 · Tue, 13 Sep 2005 01:08:37 -0400 ·
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
quoted from Arun Sopanrao Nale

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 · Tue, 13 Sep 2005 12:33:07 +0530 ·
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
quoted from 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
ForwardSourceID:NT0000A672 
quoted from Al Payne


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