Introduction to the Munin monitoring Redis tutorial in Linux

Source: Internet
Author: User
Tags redis redis tutorial


1, download Munin Redis plugin

Https://github.com/bpineau/redis-munin

2, load Redis plugin

# LN-SF/Path/redis_/etc/munin/plugins/

3, create the munin redis configuration file


# Vim/etc/munin/plugin-conf.d/redis//New files
[Redis_*]
User root//here to root
Env.host 127.0.0.1
Env.port 6379
Can ' t exec "/etc/munin/plugins/redis_": Permission not enough at/usr/share/perl5/vendor_perl/munin/node/service.pm line 263.

This error occurs, basically permissions issues, such as file and folder permissions, users do not have equal

4, test Munin Redis plugin is OK

[Root@node1 plugins]# Munin-run Redis_
Multigraph redis_clients
Clients.value 2
Multigraph redis_blocked_clients
Blocked.value 0
Multigraph redis_memory
Memory.value 735040
Multigraph redis_fragmentation
Frag.value 9.79
Multigraph Redis_changes_since_last_save
Changes.value 0
Multigraph redis_total_connections
Connections.value 154
Multigraph Redis_expired_keys
Expired.value 2
Multigraph Redis_evicted_keys
Evicted.value 0
Multigraph Redis_pubsub_channels
Channels.value 0
Multigraph Redis_commands
Commands.value 157
Hits.value 0
Misses.value 2
Multigraph Redis_dbs
Db0keys.value 4
Db0expires.value 0

5, restart Munin-node, you can see the picture

#/etc/init.d/munin-node Restart

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.