09-23-2021 09:02 AM
hello,
I have a Cisco Nexus 9000
sh environment temperature
Temperature:
--------------------------------------------------------------------
Module Sensor MajorThresh MinorThres CurTemp Status
(Celsius) (Celsius) (Celsius)
--------------------------------------------------------------------
1 FRONT 70 42 43 MinorAlarm
1 BACK 80 70 42 Ok
1 CPU 90 80 58 Ok
1 Homewood 110 90 56 Ok
Temperature in Front ranges between 41 and 43.
How can I change MinorThres (to 44)?
Solved! Go to Solution.
09-23-2021 10:15 AM
Hi @joseluis68
Creating a Supplemental Policy for the Temperature Threshold Event
This example shows how to create a supplemental policy using the event temperature command:
[no] event temperature [mod module-number] [sensor sensor-number] threshold {major | minor | any}
In addition to the default policy, this example shows how to execute the policy myappletname and action 1 if the temperature crosses the minor threshold on sensor 3 of module 2:
switch# configure terminal
switch(config)# event manager applet myappletname
switch(config-applet)# event temperature module 2 sensor 3 threshold minor
switch(config-applet)# action 1 cli “show environ temperature”
switch(config-applet)# end
this is the official page
remember to rate this answer as help
09-23-2021 10:15 AM
Hi @joseluis68
Creating a Supplemental Policy for the Temperature Threshold Event
This example shows how to create a supplemental policy using the event temperature command:
[no] event temperature [mod module-number] [sensor sensor-number] threshold {major | minor | any}
In addition to the default policy, this example shows how to execute the policy myappletname and action 1 if the temperature crosses the minor threshold on sensor 3 of module 2:
switch# configure terminal
switch(config)# event manager applet myappletname
switch(config-applet)# event temperature module 2 sensor 3 threshold minor
switch(config-applet)# action 1 cli “show environ temperature”
switch(config-applet)# end
this is the official page
remember to rate this answer as help
09-24-2021 12:42 PM
thanks for assistance provided @Javier Acuña
10-01-2021 03:54 AM
Thanks for the help.
10-01-2021 04:31 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide