Fexes status not showing
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Fexes status not showing
Hi Team,
Could you please help how to enable fexes status using below plugin. We are getting the output but we are not getting the status of fexes.
/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes
OK - found 7 FEXes
Could you please help how to enable fexes status using below plugin. We are getting the output but we are not getting the status of fexes.
/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes
OK - found 7 FEXes
Re: Fexes status not showing
Hi
what kind of machine is 10.33.50.55 ?
can you provide me with the MIB files for it please?
Thanks
what kind of machine is 10.33.50.55 ?
can you provide me with the MIB files for it please?
Thanks
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: Fexes status not showing
the below is the device type and model
Manufacture: Cisco (N5K-C5548UP) Nexus
Manufacture: Cisco (N5K-C5548UP) Nexus
Re: Fexes status not showing
Hi
Do you happen to have the MIB files?
Thanks
Do you happen to have the MIB files?
Thanks
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: Fexes status not showing
Hi Team,
We are using only the attached script.
We are using only the attached script.
You do not have the required permissions to view the files attached to this post.
Re: Fexes status not showing
Hi
That is a third-party plugin. When I looked up the help on it I could only find:
So try:
here is the website of the author of the plugin:
https://labs.consol.de/nagios/check_nwc ... /#download
Please let me know if adding "--lookup" worked for you.
Thanks
That is a third-party plugin. When I looked up the help on it I could only find:
Code: Select all
watch-fexes (Check if FEXes appear and disappear (use --lookup))Code: Select all
/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookuphttps://labs.consol.de/nagios/check_nwc ... /#download
Please let me know if adding "--lookup" worked for you.
Thanks
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: Fexes status not showing
we are getting below output its not allowing to execute
[toolsadmin@emea-nagios-a ~]$ /usr/local/nagios/libexec/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookup
Unknown option: lookup
check_nwc_health $Revision: 7.0.0.4 $ [http://labs.consol.de/nagios/check_nwc_health]
This monitoring plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
This plugin checks various parameters of network components
Usage: check_nwc_health [ -v|--verbose ] [ -t <timeout> ] --mode <what-to-do> --hostname <network-component> --community <snmp-community> ...]
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
--hostname
Hostname or IP-address of the switch or router
--port
The SNMP port to use (default: 161)
--domain
The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6)
--protocol
[toolsadmin@emea-nagios-a ~]$ /usr/local/nagios/libexec/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookup
Unknown option: lookup
check_nwc_health $Revision: 7.0.0.4 $ [http://labs.consol.de/nagios/check_nwc_health]
This monitoring plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
This plugin checks various parameters of network components
Usage: check_nwc_health [ -v|--verbose ] [ -t <timeout> ] --mode <what-to-do> --hostname <network-component> --community <snmp-community> ...]
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
--hostname
Hostname or IP-address of the switch or router
--port
The SNMP port to use (default: 161)
--domain
The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6)
--protocol
Re: Fexes status not showing
Hi
I was trying to read the code for the plugin, but I don't really know the perl languauge.
I have a hunch though, try:
Let me know the result please.
Thanks
I was trying to read the code for the plugin, but I don't really know the perl languauge.
I have a hunch though, try:
Code: Select all
./check_nwc_health --mode watch-fexes --hostname 10.33.50.55 --community XXXX --lookback 60Thanks
-
informatica
- Posts: 99
- Joined: Thu Jan 28, 2021 9:55 pm
Re: Fexes status not showing
Still we are getting the same issue
[toolsadmin@emea-nagios-a ~]$ /usr/local/nagios/libexec/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookup 60
Unknown option: lookup
check_nwc_health $Revision: 7.0.0.4 $ [http://labs.consol.de/nagios/check_nwc_health]
This monitoring plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
This plugin checks various parameters of network components
Usage: check_nwc_health [ -v|--verbose ] [ -t <timeout> ] --mode <what-to-do> --hostname <network-component> --community <snmp-community> ...]
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
--hostname
Hostname or IP-address of the switch or router
--port
The SNMP port to use (default: 161)
--domain
The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6)
--protocol
The SNMP protocol to use (default: 2c, other possibilities: 1,3)
--community
SNMP community of the server (SNMP v1/2 only)
--username
The securityName for the USM security model (SNMPv3 only)
--authpassword
The authentication password for SNMPv3
--authprotocol
The authentication protocol for SNMPv3 (md5|sha)
--privpassword
The password for authPriv security level
--privprotocol
The private protocol for SNMPv3 (des|aes|aes128|3des|3desde)
--contextengineid
The context engine id for SNMPv3 (10 to 64 hex characters)
--contextname
The context name for SNMPv3 (empty represents the "default" context)
--community2
[toolsadmin@emea-nagios-a ~]$ /usr/local/nagios/libexec/check_nwc_health --hostname 10.33.50.55 --community XXXX --mode watch-fexes --lookup 60
Unknown option: lookup
check_nwc_health $Revision: 7.0.0.4 $ [http://labs.consol.de/nagios/check_nwc_health]
This monitoring plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
This plugin checks various parameters of network components
Usage: check_nwc_health [ -v|--verbose ] [ -t <timeout> ] --mode <what-to-do> --hostname <network-component> --community <snmp-community> ...]
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
--hostname
Hostname or IP-address of the switch or router
--port
The SNMP port to use (default: 161)
--domain
The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6)
--protocol
The SNMP protocol to use (default: 2c, other possibilities: 1,3)
--community
SNMP community of the server (SNMP v1/2 only)
--username
The securityName for the USM security model (SNMPv3 only)
--authpassword
The authentication password for SNMPv3
--authprotocol
The authentication protocol for SNMPv3 (md5|sha)
--privpassword
The password for authPriv security level
--privprotocol
The private protocol for SNMPv3 (des|aes|aes128|3des|3desde)
--contextengineid
The context engine id for SNMPv3 (10 to 64 hex characters)
--contextname
The context name for SNMPv3 (empty represents the "default" context)
--community2
Re: Fexes status not showing
Hi
Looks like you missed a part, change " --lookup 60" to " --lookback 60"
Thanks
Looks like you missed a part, change " --lookup 60" to " --lookback 60"
Thanks