[mrtg] MRTG multiple processes

Pavel Ruzicka pavouk at pavouk.org
Thu Mar 11 15:31:29 CET 2010


Hello,

I have troubles, when MRTG have unaccesible more boxes and doesn't end
in 5 minutes interval.

This is output prom ps:
root      3012  0.0  0.0  74840  1172 ?        Ss   Jan22   0:05 crond                                                                             
mrtg      7664  0.0  0.0 102020  1536 ?        S    15:05   0:00  \_ crond                                                                         
mrtg      7668  1.0  3.0 325848 251420 ?       Ss   15:05   0:11  |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg    
mrtg      7687  0.0  2.5 292360 210988 ?       S    15:05   0:00  |   |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7689  0.0  0.0  57684  3600 ?        S    15:05   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t                       
mrtg      7709  0.0  0.0 102020  1536 ?        S    15:10   0:00  \_ crond
mrtg      7713  1.4  3.0 325848 251416 ?       Ss   15:10   0:11  |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7732  0.0  2.5 292360 210988 ?       S    15:10   0:00  |   |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7734  0.0  0.0  57684  3596 ?        S    15:10   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
mrtg      7740  0.0  0.0 102020  1536 ?        S    15:15   0:00  \_ crond
mrtg      7744  2.3  3.0 325848 251424 ?       Ss   15:15   0:11  |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7763  0.0  2.5 292360 210992 ?       S    15:15   0:00  |   |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7765  0.0  0.0  57688  3596 ?        S    15:15   0:00  |   \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
mrtg      7769  0.0  0.0 102020  1536 ?        S    15:20   0:00  \_ crond
mrtg      7773  6.5  3.0 325320 250856 ?       Ss   15:20   0:11      \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7792  0.2  2.5 292360 210988 ?       S    15:20   0:00      |   \_ 
/usr/bin/perl -w /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg
mrtg      7794  0.0  0.0  57688  3600 ?        S    15:20   0:00      \_ 
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t

I run MRTG from cron:
*/5 * * * * /usr/local/mrtg/bin/mrtg /usr/local/mrtg/cfg/mrtg.cfg

I know, that MRTG check if there doesn't run concurrent process.
Do you have idea, why this doesn't work?
Or how can I solve it?

I have MRTG 2.16.2 and CENTOS5 distribution of linux.

Best regards,

Pavel Ruzicka



More information about the mrtg mailing list