вторник, 15 апреля 2014 г.

Autoit и RDP - черный экран при создании screenshot

Если запускать скрипт Autoit на машине через RDP через планировщик и свернуть окно с сеансом, то при создании screenshot функцией Autoit получится картинка с черным квадратом.

Чтобы решить эту проблему, необходимо разрешить множественный вход на сервере под одной учетной записью (на примере windows server 2008)
Start - Administrative Tools - Remote Desktop Services - Remote Desktop Session Host Configuration.
Выбираем Restrict each user to a single session - Properties - убираем галочку напротив этого пункта. Разлогиниваемся

Затем заходим на машину через RDP, и в этом же сеансе вновь заходим на эту же машину по RDP. Сворачиваем, а скриншоты делаются в фоне.

вторник, 1 апреля 2014 г.

CA SPECTRUM change Disk Threshold Exceeded alarm

By default, after creating a Monitored File System, SPECTRUM will assert an alarm on the MonitoredDisk model.

To have the alarm asserted on the associated Host model for an individual Host model: 
1. Find and select the Host model
2. In the Component Details window select the Information tab
3. Find and expand the System Resources -> File Systems -> Monitored File Systems (RFC 2790) folder
4. Set the Generate Alarm On option to: Device Model

To change the default setting to assert the alarm for all Host models: 
1. Click on the Locater tab in the Navigation panel
2. Execute the Application Models -> All Application Models search
3. Filter for rfc2790app in the Results tab on the Contents panel
4. Highlight all of the rfc2790app models in the Results tab of the Contents panel. Right mouse click and select Utilities -> Attribute Editor from the menu
5. In the Attribute Editor window, click on the add link to the right of the User Defined entry under the Attributes folder
6. In the Attribute Selector window 
a. Filter for the DMon_SendAlarmsTo (0xc41135) attribute for the rfc2790app model 
b. Select the DMon_SendAlarmsTo (0xc41135) attribute for the rfc2790app model
c. Click on the OK button
7. In the Attribute Editor window 
a. Select the DMon_SendAlarmsTo (0xc41135) attribute
b. Click on the ">" button
c. Uncheck the No Change check box
d. Select Device for the value
e. Check the Set As Default check box
f. Click on the Apply button
12. In the confirmation window, click on the Yes button to confirm the default value change
13. In the Attribute Edit Results window, click on the Close button
14. In the Attribute Editor windows, click on the OK button to close the window