Vedr.: Re: Snmpstatus/aggregate bandwidth
Thomas Jens Lauritsen
tjl at topdanmark.dk
Wed Jan 25 23:17:16 CET 2006
Hi John,
Write a SNMP-plugin to get your data.
I had thought of something like your idea too, but haven had the time yet.
But I would ask for things like network errors, no port, and so on....
I don't know how usefull it is but, sometimes you have to "kick the ball"
before it hits the goal.
But check out some shell-script / plugins and if you know something about
SNMP then you should be able to start collecting data.
Try this command in a shell > "snmpwalk -v 1 W2K-netvorkhost -c public
.1.3.6"
W2K-Networkhost = some ip address
I could send you a sample-plugin on how I collect CPU data - set
thresholds and so on.
Thomas
John Jolet <john at jolet.net>
Sendt af: nagios-users-admin at lists.sourceforge.net
24-01-2006 20:59
Til: nagios-users at lists.sourceforge.net
cc:
Vedr.: Re: [Nagios-users] Snmpstatus/aggregate bandwidth
On Jan 24, 2006, at 1:50 PM, Hugo van der Kooij wrote:
> On Tue, 24 Jan 2006, Welch, John wrote:
>
>> So after looking around nagiosexchange and a quick search of the list
>> archives with no success...
>>
>> Is there a plugin that either uses the total traffic for a device,
>> ala
>> snmpstatus, or can present the aggregate traffic in and out for
>> all ports on
>> a device as two numbers? (total in, total out)
>>
>> MRTG is great for per-port stuff, but I want to use Nagios to
>> measure total
>> traffic used by a host.
>
> You are not using the right tool. If you want performance graphs
> like that
> you need to poll the proper interfaces and store them with your own
> rrdtool script and generate the graphs.
>
> Nagios is not the tool for concatenating these things. Only use a
> hammer
> when you need one. If you need a plier it is not good to grasp the
> nearest
> hammer and expect it to be a plier. (you may interchange plier and
> hammer
> if you like in this sample as long as you do it consistently ;-)
>
we use cacti for that, but you don't get alerts that way...
> Hugo.
>
> --
> I hate duplicates. Just reply to the relevant
mailinglist.
> hvdkooij at vanderkooij.org
http://hvdkooij.xs4all.nl/
> Don't meddle in the affairs of magicians,
> for they are subtle and quick to anger.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD
> SPLUNK!
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060125/c642f09d/attachment.html>
More information about the Users
mailing list