Editing Monitoring openvz resources using munin
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category: Monitoring]] | [[Category: Monitoring]] | ||
− | + | There are several plugins available on this page to monitor beancounter values in [http://munin.projects.linpro.no/ Munin]. | |
− | + | The third one tries to combine the other two. | |
− | |||
− | |||
− | |||
− | The third one tries to combine the other two. | ||
= "Simple" munin plugin = | = "Simple" munin plugin = | ||
Line 288: | Line 284: | ||
done | done | ||
− | if [ "$STATSCNT" = "1" ]; then | + | if [ "$STATSCNT" == "1" ]; then |
echo maxheld.label Maxheld | echo maxheld.label Maxheld | ||
echo maxheld.draw LINE2 | echo maxheld.draw LINE2 | ||
Line 307: | Line 303: | ||
echo $name".value "$value; | echo $name".value "$value; | ||
− | if [ "$STATSCNT" = "1" ]; then | + | if [ "$STATSCNT" == "1" ]; then |
echo maxheld.value $top | echo maxheld.value $top | ||
echo barrier.value $warn | echo barrier.value $warn | ||
Line 363: | Line 359: | ||
− | = | + | = Notes = |
− | + | == Another plugin, using vzlist == | |
− | + | There is another plugin available at http://muninexchange.projects.linpro.no/?view&phid=249 - using vzlist and PHP. | |
− | + | Especially using "vzlist" to only gather the requested fields might be a faster approach. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |