ERROR:fetching Envmon table in script:sgichk_cisco_chassis.
Posted: Wed Aug 05, 2020 2:11 pm
Hi,
I am trying to monitor cisco model 9000 switch with script => ./sgichk_cisco_chassis.pl
from console it works fine as you can see in the output =>
./sgichk_cisco_chassis.pl -H XXX.XX.XX.XX -C XXXXXXX
OK: All Environmental Sensors ok
Switch 1 Slot 1 Temp: Outlet_A = 30 = Normal
Switch 1 Slot 1 Temp: Outlet_B = 30 = Normal
Switch 1 Slot 1 Temp: Inlet_A = 32 = Normal
Switch 1 Slot 1 Temp: Inlet_B = 30 = Normal
Switch 1 Slot 1 Temp: UADP_0_0 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_1 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_2 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_3 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_4 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_5 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_6 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_7 = 42 = Normal
Switch 1 Slot 1 Temp: UADP_0_8 = 40 = Normal
Switch 1 Slot 1 Temp: Coretemp = 33 = Normal
Switch 1 Slot 1 Temp: OutletDB = 29 = Normal
Switch 2 Slot 1 Temp: Outlet_A = 34 = Normal
Switch 2 Slot 1 Temp: Outlet_B = 32 = Normal
Switch 2 Slot 1 Temp: Inlet_A = 35 = Normal
Switch 2 Slot 1 Temp: Inlet_B = 31 = Normal
Switch 2 Slot 1 Temp: UADP_0_0 = 44 = Normal
Switch 2 Slot 1 Temp: UADP_0_1 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_2 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_3 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_4 = 44 = Normal
Switch 2 Slot 1 Temp: UADP_0_5 = 42 = Normal
Switch 2 Slot 1 Temp: UADP_0_6 = 42 = Normal
Switch 2 Slot 1 Temp: UADP_0_7 = 46 = Normal
Switch 2 Slot 1 Temp: UADP_0_8 = 44 = Normal
Switch 2 Slot 1 Temp: Coretemp = 35 = Normal
Switch 2 Slot 1 Temp: OutletDB = 32 = Normal
Switch 1 Fan 1/0 = Normal
Switch 2 Fan 0/0 = Normal
Switch 2 Fan 1/0 = Normal
Switch 1 Fan 0/0 = Normal
Switch 1 Power Supply 1 = Normal
Switch 2 Power Supply Module 0 = Normal
Switch 2 Power Supply 0 = Normal
Switch 2 Power Supply Module 1 = Normal
Switch 2 Power Supply 1 = Normal
Switch 1 Power Supply Module 0 = Normal
Switch 1 Power Supply 0 = Normal
Switch 1 Power Supply Module 1 = Normal
but inserting it into nagiosxi gives the following output error =>
ERROR:fetching Envmon table: "No response from remote host:xxxxxxxxx"
I attach a screenshot
Thank you, I'm looking forward for your answer
I am trying to monitor cisco model 9000 switch with script => ./sgichk_cisco_chassis.pl
from console it works fine as you can see in the output =>
./sgichk_cisco_chassis.pl -H XXX.XX.XX.XX -C XXXXXXX
OK: All Environmental Sensors ok
Switch 1 Slot 1 Temp: Outlet_A = 30 = Normal
Switch 1 Slot 1 Temp: Outlet_B = 30 = Normal
Switch 1 Slot 1 Temp: Inlet_A = 32 = Normal
Switch 1 Slot 1 Temp: Inlet_B = 30 = Normal
Switch 1 Slot 1 Temp: UADP_0_0 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_1 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_2 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_3 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_4 = 40 = Normal
Switch 1 Slot 1 Temp: UADP_0_5 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_6 = 39 = Normal
Switch 1 Slot 1 Temp: UADP_0_7 = 42 = Normal
Switch 1 Slot 1 Temp: UADP_0_8 = 40 = Normal
Switch 1 Slot 1 Temp: Coretemp = 33 = Normal
Switch 1 Slot 1 Temp: OutletDB = 29 = Normal
Switch 2 Slot 1 Temp: Outlet_A = 34 = Normal
Switch 2 Slot 1 Temp: Outlet_B = 32 = Normal
Switch 2 Slot 1 Temp: Inlet_A = 35 = Normal
Switch 2 Slot 1 Temp: Inlet_B = 31 = Normal
Switch 2 Slot 1 Temp: UADP_0_0 = 44 = Normal
Switch 2 Slot 1 Temp: UADP_0_1 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_2 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_3 = 43 = Normal
Switch 2 Slot 1 Temp: UADP_0_4 = 44 = Normal
Switch 2 Slot 1 Temp: UADP_0_5 = 42 = Normal
Switch 2 Slot 1 Temp: UADP_0_6 = 42 = Normal
Switch 2 Slot 1 Temp: UADP_0_7 = 46 = Normal
Switch 2 Slot 1 Temp: UADP_0_8 = 44 = Normal
Switch 2 Slot 1 Temp: Coretemp = 35 = Normal
Switch 2 Slot 1 Temp: OutletDB = 32 = Normal
Switch 1 Fan 1/0 = Normal
Switch 2 Fan 0/0 = Normal
Switch 2 Fan 1/0 = Normal
Switch 1 Fan 0/0 = Normal
Switch 1 Power Supply 1 = Normal
Switch 2 Power Supply Module 0 = Normal
Switch 2 Power Supply 0 = Normal
Switch 2 Power Supply Module 1 = Normal
Switch 2 Power Supply 1 = Normal
Switch 1 Power Supply Module 0 = Normal
Switch 1 Power Supply 0 = Normal
Switch 1 Power Supply Module 1 = Normal
but inserting it into nagiosxi gives the following output error =>
ERROR:fetching Envmon table: "No response from remote host:xxxxxxxxx"
I attach a screenshot
Thank you, I'm looking forward for your answer