how to configure MRTG for multiple nodes
Re: how to configure MRTG for multiple nodes
at the blink of an eye.I mean i change it to nagios.nagios then I do ls -l and it is ... root.root
so if we could solve this issue of re-return , maybe we can solve the problem!
so if we could solve this issue of re-return , maybe we can solve the problem!
Re: how to configure MRTG for multiple nodes
What command are you using? Are you typing "nagios.nagios" or "nagios:nagios"?
Former Nagios employee
Re: how to configure MRTG for multiple nodes
nagios.nagios
Re: how to configure MRTG for multiple nodes
hmmm. mrtg is usually processed on a cron. I wonder if the cron is not setting the proper permissions. What is the output of:
Code: Select all
cat /etc/cron.d/mrtgFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: how to configure MRTG for multiple nodes
*/5 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
actually this is the original line that were automatically created after installing mrtg and I just uncommented it
there are plenty of suggestion out in the wild and I do not know which one to take.
I appreciate your suggestion for the cron.d/mrtg correct entry in this regard
actually this is the original line that were automatically created after installing mrtg and I just uncommented it
there are plenty of suggestion out in the wild and I do not know which one to take.
I appreciate your suggestion for the cron.d/mrtg correct entry in this regard
Re: how to configure MRTG for multiple nodes
I think the .log file becomes root:root because of the crond,
because the cron I set to 1 minute check after 1 minute the .log file in /var/www/mrtg/ becomes -rw-r--r--
also cron says: LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
content-type: type: text/plain;charset=UTF-8
I really need to solve this issue, I need help
because the cron I set to 1 minute check after 1 minute the .log file in /var/www/mrtg/ becomes -rw-r--r--
also cron says: LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
content-type: type: text/plain;charset=UTF-8
I really need to solve this issue, I need help
Re: how to configure MRTG for multiple nodes
I did LANG=en_US
export LANG
but still unable to open logfile for mrtftraf
export LANG
but still unable to open logfile for mrtftraf
Re: how to configure MRTG for multiple nodes
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: how to configure MRTG for multiple nodes
it is 0022
Re: how to configure MRTG for multiple nodes
What about check_mrtgtraf?
Code: Select all
ls -la /usr/local/nagios/libexec/check_mrtgtrafFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.