Skip to main content

Hello,

 

I’ve tried to make a warning-alert when a device has been rebooted less than one hour ago but when I want to configure it, it alerts me when it’s up than MORE than an hour.

 

I’ve something like that and I’ve try few other solutions :

$CENTREONPLUGINS$/centreon_windows_snmp.pl --plugin os::windows::snmp::plugin --mode=uptime --hostname=$HOSTADDRESS$ --snmp-community=$_HOSTSNMPCOMMUNITY$ --snmp-version=$_HOSTSNMPVERSION$ --snmp-timeout=5 --snmp-retries=0 --snmp-force-getnext --unit=s --warning-uptime=3600 --verbose

 

Do you have any idea ?

 

Thanks and have a nice day.

Hello,
I think you have to change your --warning-uptime option by “3600:” which means <3600 (outside the range of 3600..infinity)


Thanks for your answer, I have just changed this parameter and I’ll come back to you after trying it.


It seems to work, I’ll see later if it disappears after 1 hour. Thanks !

 

 


Reply