Send traffic is not getting capture in NagiosXi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Send traffic is not getting capture in NagiosXi

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Send traffic is not getting capture in NagiosXi

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Re: Send traffic is not getting capture in NagiosXi

Post by msahu »

hi cdienger,

I have multiple 2 nic port binding for esxi vswitch, the send traffic is not getting captured.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Re: Send traffic is not getting capture in NagiosXi

Post 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;;
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Send traffic is not getting capture in NagiosXi

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Re: Send traffic is not getting capture in NagiosXi

Post 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;;
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Send traffic is not getting capture in NagiosXi

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Re: Send traffic is not getting capture in NagiosXi

Post 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 ]
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Send traffic is not getting capture in NagiosXi

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
msahu
Posts: 6
Joined: Tue Dec 04, 2018 10:33 am

Re: Send traffic is not getting capture in NagiosXi

Post 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
Locked