Page 1 of 2
Send traffic is not getting capture in NagiosXi
Posted: Tue Dec 04, 2018 10:44 am
by msahu
Send traffic is not getting capture in NagiosXI while configuring Vmware esxi monitoring.
vmware esxi send traffic not been capture, Please find the snapshot for more details.
Re: Send traffic is not getting capture in NagiosXi
Posted: Tue Dec 04, 2018 5:56 pm
by cdienger
You can get more information regarding what is being communicated by running the command from the command line with the option "--trace=4". To get a copy of the full command, edit the service in the CCM and use the "Run Check Command" button. My guess is that the data isn't there or it is returning 0 for some reason.
Re: Send traffic is not getting capture in NagiosXi
Posted: Wed Dec 05, 2018 2:06 am
by msahu
hi cdienger,
I have multiple 2 nic port binding for esxi vswitch, the send traffic is not getting captured.
Re: Send traffic is not getting capture in NagiosXi
Posted: Wed Dec 05, 2018 4:52 am
by msahu
We have configured esxi network adapter with two network physical adapter.
For multiple nic send traffics are not being captured.
ESX3 OK - net receive=9125.00 KB/s, send=0.00 KB/s, all 2 NICs are connected | net_receive=9125.00KB;; net_send=0.00KB;; OK_NICs=2;; Bad_NICs=0;;
Re: Send traffic is not getting capture in NagiosXi
Posted: Wed Dec 05, 2018 4:32 pm
by cdienger
What version of esxi is this?
When you say the "send traffic is not getting captured", did you check on the esxi server to see if data transmit rate counter had any value? Is it able to graph this counter?
The check will first query to find a list of counters and if it finds a counter like:
Code: Select all
<PerfCounterInfo xsi:type="PerfCounterInfo">
<key>149</key>
<nameInfo>
<label>Data transmit rate</label>
<summary>Average rate at which data was transmitted during the interval</summary>
<key>transmitted</key>
</nameInfo>
<groupInfo>
<label>Network</label>
<summary>Network</summary>
<key>net</key>
</groupInfo>
<unitInfo>
<label>KBps</label>
<summary>Kilobytes per second</summary>
<key>kiloBytesPerSecond</key>
</unitInfo>
<rollupType>average</rollupType>
<statsType>rate</statsType>
<level>2</level>
<perDeviceLevel>3</perDeviceLevel>
</PerfCounterInfo>
it will request data for the counter which comes over in CSV format.
You can use the subcommand "
-s send" to pull just the net_send value. This would help keep the amount of data logged with the
--trace option to a minimum.
Re: Send traffic is not getting capture in NagiosXi
Posted: Thu Dec 06, 2018 1:19 am
by msahu
after adding the - s send option the out is same no data is being captured
/usr/local/nagios/libexec/check_esx3.pl -H "**.**.**.***" -f "/usr/local/nagiosxi/etc/components/vmware/XXXXXXXXX.txt" -l "NET" -s send
ESX3 OK - net send=0.00 KB/s | net_send=0.00KB;;
Re: Send traffic is not getting capture in NagiosXi
Posted: Thu Dec 06, 2018 2:43 pm
by cdienger
The option was meant to be run with --trace to help keep logging to a minimum and determine if the value was even getting sent back.
Re: Send traffic is not getting capture in NagiosXi
Posted: Fri Dec 07, 2018 12:03 am
by msahu
The option --trace is throwing error.
Unknown option: trace
Usage: check_esx3.pl -D <data_center> | -H <host_name> [ -N <vm_name> ]
-u <user> -p <pass> | -f <authfile>
-l <command> [ -s <subcommand> ]
[ -t <timeout> ] [ -w <warn_range> ] [ -c <crit_range> ]
[ -V ] [ -h ]
Re: Send traffic is not getting capture in NagiosXi
Posted: Fri Dec 07, 2018 3:09 pm
by cdienger
The full command would look something like:
/usr/local/nagios/libexec/check_esx3.pl -H "**.**.**.***" -f "/usr/local/nagiosxi/etc/components/vmware/XXXXXXXXX.txt" -l "NET" -s send --trace=4
Also check the version of plugin:
/usr/local/nagios/libexec/check_esx3.pl -V
Re: Send traffic is not getting capture in NagiosXi
Posted: Mon Dec 10, 2018 5:29 am
by msahu
We have the nagiosXi plugin version for vmware is as follows:
/usr/local/nagios/libexec/check_esx3.pl -V
check_esx3.pl 0.2.1