Eu extraí o código e executei, mas não retorna a mesma saída que o mrtg precisa, então ele nem gera.
Mais ninguém tem isso funfando ai? -- "Deve-se aprender sempre, até mesmo com um inimigo." (Isaac Newton) Atenciosamente, Saul Figueiredo Analista FreeBSD/Linux Linux Professional Institute Certification Level 2 Linux User: #554651 saulfelip...@gmail.com <saul-fel...@hotmail.com> Em 30 de outubro de 2012 18:03, Luiz Gustavo S. Costa < luizgust...@luizgustavo.pro.br> escreveu: > Em 30 de outubro de 2012 17:46, Cleiton Alves > <cleitondeb...@gmail.com> escreveu: > > da uma olhada nesse link abaixo > > > > > > > http://www.luizgustavo.pro.br/blog/2012/08/08/glances-monitoramento-em-tempo-real-feito-em-python/ > > > > > > Creio que seja isso que procura > > > > > > Abraços > > ------------------------- > > Histórico: http://www.fug.com.br/historico/html/freebsd/ > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > veja se isso pode ajudar também: > > root@samba4:/usr/ports/net-mgmt/nagios-check_cpu_usage # cat pkg-descr > check_cpu_usage is a plugin intended for use with the Nagios network > monitoring system. This plugin checks the current CPU load and > compares the current state to given thresholds, returning the result. > It is written as shell script. > > talvez com alguma adaptação ou extração do código (que é em shell) > possa ser usado no mrtg > > -- > Luiz Gustavo Costa (Powered by BSD) > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ > mundoUnix - Consultoria em Software Livre > http://www.mundounix.com.br > ICQ: 2890831 / MSN: cont...@mundounix.com.br > Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 > Blog: http://www.luizgustavo.pro.br > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd