Dimitri,<br> Please take a look at this oid. you can use check_snmp plugin with the following oid.<br><br><a href="http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?translate=Translate&objectInput=ifInOctets">http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?translate=Translate&objectInput=ifInOctets</a><br>
<br>Also, these requests are not proper for Nagios Plugin Developement mailing list. Please ask these questions in Nagios user mailing list in the future<br><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 8:50 AM, Dimitri Gordeziani <span dir="ltr"><<a href="mailto:dimitrigordeziani@gmail.com">dimitrigordeziani@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Please can you reply me on this email if it is possible to make nagios plugin to monitor traffice in bits instead of bytes and how?<br>
<br>thank you..<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 8:34 PM, Dimitri Gordeziani <span dir="ltr"><<a href="mailto:dimitrigordeziani@gmail.com" target="_blank">dimitrigordeziani@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>can someone help me?<br><br>Im using nagious plugins for cacti to monitor vmware esxi (VPS server) <br>
<br>the
issue is that when I try to get net info(vm_net) for Virtuam Machine
located on this VPS host server, I get only (net_receive=0.00KB;;
net_send=0.00KB;;) - the command is example "perl
/var/www/cacti/scripts/<a href="http://check_esx3.pl/" target="_blank">check_esx3.pl</a> -H "VPS host IP" -N "VIrtual Machine Name" -u User -p password -l NET"<br>
<br>but as I guess(after investigated) this issue happens when there is
network trafic(for Virtual Machine) in bits(small/less traffic) and if
there is the traffice in KB,MB so then there is no any issue(the script
is worknig fine and gives me a result example "net_receive=122.12KB;;
net_send=1210.12KB;;")<br>
<br>that is why I would like if it is possible to change/replace the
default measure for networ activity from uom="kB"(kbyte) with uom="kb"
or uom="b", is it possible?<br><br>Ive tried to change this value in ..../Nagios/Plugin.pm and ...../Nagios/Plugin/<div>Performance.pm files but without any success..<br>
<br>pleaes let me know if it is possible somehow to set default traffic
measure in bits and not bytes... otherwise I do not get any network
info when there is activity in bits(low network activity) and not in
bytes/kB/MB (hight network activity)<br>
<br>thank you in advance.. </div>
</blockquote></div><br>
</div></div><br>------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</a><br>_______________________________________________________<br>
Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>