URL: https://linuxfr.org/forums/linux-general/posts/probleme-cacti Title: Probleme Cacti Authors: oneal Date: 2006年09月27日T22:11:14+02:00 Tags: Score: 0 Je suis en train de me battre comme un ours avec Cacti :o J'arrive à monitorer une machine Linux (bande passante au niveau des interfaces, CPU, load average, ping latency, process...), mais impossible de monitorer une machine Windows. J'ai pourtant sur cette machine Windows 2k3, installer SNMP, créé une communauté public (Read Only) et autorisé les connexions SNMP depuis toutes les machines. Du coté du serveur Cacti (sous Linux), j'ai essayé de monitorer une machine windows 2003 1) Host MIB - Logged in Users 2) Host MIB - Processes 3) ucd/net - CPU Usage 4) ucd/net - Memory Usage Et malhereusement je n'obtiens un graphique vide. J'ai l'abscisse, l'ordonnée, l'échelle... tout sauf le trassage du graphe. Voici le debug RRDTool concernant le monitoring du CPU (pour exemple) Code : 1. RRDTool Command: 2. 3. /usr/bin/rrdtool graph - 4. --imgformat=PNG 5. --start=-86400 6. --end=-300 7. --title="Windows Antivirus Windows - Test - CPU Usage" 8. --rigid 9. --base=1000 10. --height=120 11. --width=500 12. --alt-autoscale-max 13. --lower-limit=0 14. --vertical-label="percent" 15. --slope-mode 16. DEF:a="/usr/share/cacti/rra/windows_antivirus_windows_test_cpu_system_40.rrd":cpu_system:AVERAGE 17. DEF:b="/usr/share/cacti/rra/windows_antivirus_windows_test_cpu_user_41.rrd":cpu_user:AVERAGE 18. DEF:c="/usr/share/cacti/rra/windows_antivirus_windows_test_cpu_nice_39.rrd":cpu_nice:AVERAGE 19. CDEF:cdefbc=TIME,1159370659,GT,a,a,UN,0,a,IF,IF,TIME,1159370659,GT,b,b,UN,0,b,IF,IF,TIME,1159370659,GT,c,c,UN,0,c,IF,IF,+,+ 20. AREA:a#FF0000:"System" \ 21. GPRINT:a:LAST:"Current\:%8.2lf %s" 22. GPRINT:a:AVERAGE:"Average\:%8.2lf %s" 23. GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" 24. AREA:b#0000FF:"User":STACK \ 25. GPRINT:b:LAST:" Current\:%8.2lf %s" 26. GPRINT:b:AVERAGE:"Average\:%8.2lf %s" 27. GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" 28. AREA:c#00FF00:"Nice":STACK \ 29. GPRINT:c:LAST:" Current\:%8.2lf %s" 30. GPRINT:c:AVERAGE:"Average\:%8.2lf %s" 31. GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" 32. LINE1:cdefbc#000000:"Total" \ 33. GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" 34. GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" 35. GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s" 36. 37. RRDTool Says: 38. 39. OK Avez vous une idée ?

AltStyle によって変換されたページ (->オリジナル) /