Description
Because the default timeout for OS Commands is set to 30 seconds, any command that require more time to return a result will produce the following error:
Description: OSCOMMAND TEST on localhost: FAILED
--------------------------
The following command-line failed to match the criteria:
- CommandLine = /usr/bin/iostat -En
- ExpectedResult = Soft [Ee]rrors.*Hard [Ee]rrors.*Transport [Ee]rrors
This issue can simply be solved by increasing the value of the defaultCommandTimeout configuration variable.
Procedure
To modify the value of the defaultCommandTimeout variable:
- Run wpconfig.exe
- Click to get the configuration of your PATROL Agent
- Go to the Edit menu and select Add Variable
- In the Variable field, enter: /SENTRY/HARDWARE/defaultCommandTimeout
- In the Value field, specify the time in seconds after which the OS commands will time out (in our example 300 seconds)
- Click Add.
- Click to apply your changes to the PATROL Agent’s configuration.
- Restart the PATROL Agent.
Related Topics
- Unable to Monitor Hardware Using SNMP-based Connectors with PATROL Agent v.9.5.00.02
- Empty Values for mc_object_class, mc_object and mc_parameter Slots in the Sentry KMs ' Events
- Hitachi Device Manager Running out of Memory
- Using Local Admin Accounts and WMI to Monitor Remote Windows 2008 Servers
- java.sql.SQLException: I/O Error: Connection Reset When Monitoring Microsoft SQL Server 2008 R2