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..<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">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>