daniellawrence / simplenagios

Simple Nagios web client - Using bootstrap
MIT License
8 stars 3 forks source link

Add at least one network usage graph #7

Open bassu opened 11 years ago

bassu commented 11 years ago

First of, thanks for such a great tool. I really like the simplicity and beauty of it.

But it would be really great to see what's happening to the network's side. A fragmentary pie chart for network traffic won't hurt IMHO :+1:

:)

daniellawrence commented 11 years ago

Hiya @bassu ,

All the data that is used by simple nagios is from the MK Livestatus (http://mathias-kettner.de/checkmk_livestatus.html). If we can get the check data via the LQL, this would be possible, provided there is a check that is gathering the information we want to graph.

bassu commented 11 years ago

Hi there :)

Thanks for info about LQL. I think that's possible. We can have a Bash or Python script count the usage with /proc/net/dev or even with check_mk's builtin interface checks. Or may be, use SNMP or perf_data. I'll look into it and see what's the best way of doing it in LQL.