Zabbix – мониторинг загрузки сети и Интернет-канала

zabbixZabbix очень неплохо умеет мониторить канал, ну и оповещать админов о том, что канальчик то проседает. Ну и такие плюшки, как построение графиков, конечно же мы тоже задействуем.

В Инете сейчас кучи статей о том как подключить сервер к системе мониторинга Zabbix. В своем примере я подключу сервер на основе CentOS 5.3, который смотрит мордой вперед и который сам по себе достаточно мощный, но узким местом которого является Интернет-канал.

Подключение сервера

Конфигурирование начнем с создания новой группы серверов. Идем в Configurations→Host groups и нажимаем на кнопку вверху справа Create host group. Я назову группу DemoServers.

1creategroup

После создания группы,- необходимо создать сам хост. Переходим в раздел Configurations → Hosts. Жмем кнопку Create host. В поле IP address или DNS определите внешний IP или DNS-имя по которому Zabbix Server подключится к хосту для получения данных.

2createhost

В этом же окне откройте вкладку Templates, чтобы подключить к хосту шаблон, по которому для него автоматически создадутся приложения, триггеры, графики и пр. В моем случае, поскольку на хосте стоит ОС Linux, я выберу шаблон Template OS Linux.

3template

Мониторинг сети

В принципе, после этого можно уже открыть графики и увидеть красивые графики сетевой активности на нашем хосте.

4netgraph

Но нас ведь не просто графики интересуют, а оповещение в случае загрузки канала. Для начала определимся с тем, что именно будем мониторить. Поскольку, хост отдает контент – критичным для нас будет отдача трафика на интерфейсе. Если же вы мониторите офисный шлюз, то критичным будет исходящий трафик на интерфейсе(для шлюза он будет входящим), который смотрит в локальную сеть. Для того, чтобы научить наш Zabbix слать оповещения в случае “проседания канала”, нам необходимо создать триггер. Открываем раздел Configuration→Hosts и напротив нашего SuperServer выбираем Triggers. В открывшемся окне жмем Create trigger и заполняем

Name: Inet Channel Overload Out eth0
Expression: {DemoServers.SuperServer:net.if.out[eth0].last(0)}>9437184
Severity: Disaster

5trigger

Число 9437184 это 9 Мбит/c. (9437184 = 1024*1024*9)

Вот и все, что требовалось сделать. Теперь если загрузка исходящего трафика на интерфейсе eth0 будет больше 9 Мбит/с – нам придет оповещение. А прочитать, как подключить СМС-оповещение к Zabbix можно тут.

86 комментариев к “Zabbix – мониторинг загрузки сети и Интернет-канала

  1. An impressive share, I simply offered this onto an associate who was doing a little analysis on this. And he in fact acquired me morning meal since I discovered it for him. smile. So let me rephrase that: Thnx for the reward! But yeah Thnkx for spending the moment to review this, I feel highly concerning it as well as enjoy finding out more on this subject. Preferably, as you end up being expertise, would you mind updating your blog with more details? It is very handy for me. Huge thumb up for this article!

  2. The following time I check out a blog site, I really hope that it doesn’t dissatisfy me as high as this. I indicate, I know it was my selection to read, but I in fact believed youd have something fascinating to say. All I listen to is a lot of whining about something that you might take care of if you werent also hectic seeking attention.

  3. Wonderful article. I find out something a lot more challenging on various blogs daily. It will constantly be boosting to check out content from other authors as well as practice a little something from their store. I?d favor to make use of some with the material on my blog site whether you don?t mind. Natually I?ll offer you a link on your web blog. Thanks for sharing.

  4. This is the right blog site for any person that wants to find out about this subject. You recognize so much its practically hard to say with you (not that I actually would want?HaHa). You certainly placed a new spin on a topic thats been written about for many years. Wonderful stuff, just excellent!

  5. Great article. I learn something a lot more tough on different blog sites daily. It will certainly constantly be promoting to check out material from other writers and also practice a little something from their store. I?d favor to use some with the content on my blog whether you don?t mind. Natually I?ll give you a web link on your web blog. Many thanks for sharing.

  6. An outstanding share, I just given this onto a colleague that was doing a little evaluation on this. As well as he as a matter of fact got me breakfast because I discovered it for him. smile. So let me reword that: Thnx for the treat! Yet yeah Thnkx for spending the time to review this, I really feel strongly about it and like reading more on this topic. Preferably, as you come to be knowledge, would you mind updating your blog with even more details? It is highly handy for me. Large thumb up for this post!

  7. Great work! That is the kind of information that are meant to be
    shared around the net. Shame on the seek engines for not positioning this publish upper!
    Come on over and talk over with my site .
    Thanks =)

  8. I’m not sure exactly why but this blog is loading very slow for me.
    Is anyone else having this issue or is it a issue on my end?
    I’ll check back later and see if the problem still exists.

  9. This is the appropriate blog site for anyone that intends to find out about this subject. You understand a lot its nearly difficult to say with you (not that I in fact would want?HaHa). You definitely placed a brand-new spin on a topic thats been discussed for many years. Excellent stuff, simply wonderful!

  10. Aw, this was an actually great article. In suggestion I wish to place in writing such as this furthermore? taking some time and also real effort to make a great article? however what can I claim? I procrastinate alot and also never appear to get something done.

  11. This is the best blog for any person that intends to discover this topic. You realize so much its nearly hard to suggest with you (not that I actually would want?HaHa). You most definitely put a new spin on a topic thats been discussed for many years. Fantastic things, simply excellent!

  12. As far as me being a member here, I wasn’t aware that I was a member for any days, actually. When the article was published I received a notification, so that I could participate in Comments, so perhaps that is it. But we’re certainly all members in the world of ideas.

  13. I couldn’t currently have asked for an even better blog. You are there to provide excellent assistance, going on to the point for quick understanding of your readership. You’re truly a terrific professional in this matter. Thanks a lot for always being there visitors like me.

  14. I’d been honored to receive a call from my friend as soon as he discovered the important recommendations shared on your site. Going through your blog posting is a real fantastic experience. Thank you for taking into account readers like me, and I desire for you the best of achievements for a professional surface area.

  15. After research a few of the blog posts on your website now, as well as I absolutely like your method of blogging. I bookmarked it to my bookmark web site listing and also will be checking back quickly. Pls look into my website also and also let me understand what you assume.

  16. A remarkable share, I simply provided this onto a coworker who was doing a little analysis on this. As well as he in fact purchased me morning meal because I located it for him. smile. So let me reword that: Thnx for the treat! Yet yeah Thnkx for spending the time to review this, I really feel highly concerning it and also love reading more on this subject. If possible, as you end up being experience, would certainly you mind updating your blog site with more information? It is very handy for me. Large thumb up for this blog post!

  17. An impressive share, I just offered this onto a coworker that was doing a little evaluation on this. And also he as a matter of fact purchased me breakfast since I discovered it for him. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for investing the moment to discuss this, I really feel strongly regarding it as well as like reading more on this subject. Ideally, as you become expertise, would you mind upgrading your blog site with more information? It is extremely valuable for me. Big thumb up for this article!

  18. An excellent share, I simply provided this onto a coworker that was doing a little analysis on this. And he actually purchased me breakfast since I located it for him. smile. So let me rephrase that: Thnx for the treat! But yeah Thnkx for investing the moment to discuss this, I really feel highly concerning it as well as like finding out more on this subject. When possible, as you become competence, would you mind updating your blog site with even more information? It is highly handy for me. Huge thumb up for this post!

  19. I was extremely pleased to locate this web-site. I intended to many thanks for your time for this fantastic read!! I most definitely delighting in every little bit of it as well as I have you bookmarked to check out new stuff you article.

  20. I just want to say I am just all new to blogs and honestly enjoyed your blog. Very likely I’m likely to bookmark your blog post . You amazingly come with tremendous stories. Cheers for sharing with us your web site.

  21. Great ¡V I should definitely pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related information ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or something, web site theme . a tones way for your client to communicate. Excellent task..

  22. Howdy! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform. I would be great if you could point me in the direction of a good platform.

  23. After examine just a few of the blog posts in your website now, and I really like your method of blogging. I bookmarked it to my bookmark web site checklist and can be checking back soon. Pls check out my web page as effectively and let me know what you think.

  24. I have to thank you for the efforts you’ve put in writing this blog. I am hoping to see the same high-grade blog posts by you in the future as well. In fact, your creative writing abilities has inspired me to get my very own website now 😉

  25. I just want to say I am very new to blogging and really loved this website. More than likely I’m want to bookmark your blog post . You certainly come with fabulous articles and reviews. Appreciate it for sharing your blog.

  26. I wanted to compose you the little observation just to thank you once again regarding the exceptional basics you have shared on this site. It has been simply wonderfully open-handed of people like you to supply publicly just what a few people would have sold for an electronic book to help with making some bucks for their own end, mostly now that you could possibly have tried it if you decided. These thoughts likewise acted as the fantastic way to be aware that the rest have the identical desire really like mine to figure out somewhat more with regards to this issue. Certainly there are numerous more enjoyable sessions up front for individuals that start reading your blog

  27. Hey there just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same results.

  28. Aw, it was a really good post. In concept I must invest writing this way moreover – taking time and actual effort to manufacture a top notch article… but what can I say… I procrastinate alot and by no indicates appear to get something carried out.

  29. The the next time I just read a blog, I am hoping who’s doesnt disappoint me around that one. After all, It was my solution to read, but I just thought youd have some thing interesting to convey. All I hear is often a lot of whining about something that you could fix should you werent too busy seeking attention.

  30. hello there and thanks for your information – I have certainly picked up anything new from proper here. I did then again expertise a few technical points the use of this web site, since I experienced to reload the website a lot of times previous to I may just get it to load properly. I had been pondering if your web host is OK? No longer that I am complaining, but sluggish loading instances occasions will often have an effect on your placement in google and could injury your high quality rating if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Anyway I am adding this RSS to my email and can glance out for a lot extra of your respective fascinating content. Make sure you replace this once more soon..

  31. Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  32. I truly love your website.. Great colors & theme. Did you make this amazing site yourself? Please reply back as I’m attempting to create my own personal blog and would love to learn where you got this from or what the theme is named. Thank you.

  33. Unquestionably believe that which you said. Your favorite justification appeared to be on the internet the simplest thing to be aware of. I say to you, I definitely get irked while people consider worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

  34. Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  35. Hi, I do believe this is a great website. I stumbledupon it 😉 I am going to come back once again since I book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to help others.

  36. Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  37. You actually make it seem so easy along with your presentation however I to find this matter to be actually something which I feel I would never understand. It sort of feels too complicated and extremely huge for me. I am taking a look forward for your next submit, I will try to get the hold of it!

  38. I would like to thnkx for the efforts you’ve put in writing this blog. I’m hoping the same high-grade website post from you in the upcoming as well. Actually your creative writing skills has inspired me to get my own web site now. Actually the blogging is spreading its wings quickly. Your write up is a great example of it.

  39. Wonderful goods from you, man. I have take into accout your stuff prior to and you’re simply too excellent. I actually like what you have obtained right here, certainly like what you are saying and the way by which you assert it. You make it enjoyable and you still care for to keep it wise. I can not wait to read far more from you. This is actually a terrific site.

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *