Apr 22

Author: Ingmar Verheij

A Synology NAS can be used as a FTP server out-of-the-box (after enabling it), but there is no FTP client installed that can be used from a interactive shell. You can install a FTP client, lftp by Alexander Lukyanov, using ipkg.

If you haven’t installed ipkg yet, please install it first (link).

Continue reading »

Apr 22

Author: Ingmar Verheij

Synology DS212+

If you want to install additional packages on your Synology NAS you first need to install ipkg. In this post I’ll explain the steps you need to take to install this package on your Synology NAS.

If you don’t have terminal access, please enable that first (link).

Continue reading »

Apr 21

Author: Ingmar Verheij

For certain (more complex) tasks you might need terminal access to your Synology NAS. Enabling terminal access to your Synology NAS is done quite easily.

You can enable both Telnet (non encrypted – insecure) or SSH (encrypted – more secure) access.

Continue reading »

Apr 12

Author: Ingmar Verheij

When you try to remove a (sealed) management pack from System Center Operations Manager (SCOM) you get the following error:

Following Management Packs depend on the Managemend Pack you are trying to delete

This is caused by an override that is targeted on the management pack you want to delete (for instance Citrix Library) and is stored in the Default Management Pack, which is NOT a best-practice. Even after deleting all overrides from the DMP the message does not disappear.

Continue reading »

Apr 11

Author : Ingmar Verheij

System Center Operations Manager (SCOM) agents are by default allowed to only return data from the same source. If the agent needs to submit data from another source, for instance in a cluster, the security feature ‘Agent Proxy’ needs to be enabled. By default this feature is disabled.

If you create (or import) a management pack that relies on this feature, for example when the management pack submits data from another source, you might want automate this.

Continue reading »

Apr 10

Author: Ingmar Verheij

When creating a report in System Center Operations Manager (SCOM) showing performance data you’ll need to make a decision about the data you’re going to show. Will you use raw data (Perf.vPerfRaw), hourly aggregated data (Perf.vPerfHourly) or daily aggregated data (Perf.vPerfDaily).

Query_thumb2Do you want to show detailed information or for a longer period? The most detail can be achieved with the data stored in Perf.vPerfRaw but this comes at a cost, the time to query the database and render the report increases massive. So if you want to show data for a longer period (like over a week) you’ll probably better use the data stored in Perf.vPerfDaily.

But what if you want the user the ability to change the date range? If the user specifies a small range (for instance a day) you want high detail, but when the range is increased (for instance a month) less detail is required.

Unfortunately the reports created in the Business Intelligence Development Studio (BIDS) does not allow you to create a conditional SQL statement. So in order to achieve this, a stored procedure needs to be created.

Continue reading »

Apr 10

Author: Ingmar Verheij

After importing a management pack in System Center Operations Manager (SCOM) it might take a while until it is visible in the Operations Console. When developing a management pack (and especially when creating reports) this is frustrating since there are numerous reasons why the management pack isn’t working as expected.

A common reason why the management pack (and the associated reports) aren’t showed in the Operations Console is because the management packs are queued awaiting synchronization.

Continue reading »

Mar 20

Author : Ingmar Verheij

A HashTable can be used to store a collection of key/value pairs. The key object is used to uniquely identify the key/value pair which makes is easy to store data like a database.

The type of the key object which is added to the HashTable is variable. It can be an integer, a string, a GUID etc. Because of the nature of a GUID (a globally unique identifier) it is an ideal candidate for a key object.

If you want to use a combination of two (or more) GUIDS as a key object you can create a class object, but there is a caveat.

Continue reading »

Mar 17

Author : Ingmar Verheij

After installing the XenTools (version 6.0.0.50762) on a Windows Server 2008 R2 virtual machine, hosted on a Citrix XenServer 6.0 (build 50762p), the network connectivity degraded. Although I could connect to the machine via RDP the provisioning server was marked Down and XenDeskop services terminated unexpectedly.


As a workaround you can disable IPv6 on the network connections where you don’t use IPv6. After a reboot you can enable IPv6 again, the xennet6 error will remain but both PVS and XenDesktop worked fine.

If disabling IPv6 doesn’t work you can install XenTools 5.6 SP2, but I would try to keep it as a last resort. More information about the issue can be found on Citrix Forums.

Continue reading »

Mar 16

Author : Ingmar Verheij

A System Center Operation Manager (SCOM or OpsMgr) management pack might cause warning event with ID 21405. This event is raised when a script is run without returning any data.

 

Log Name:      Operations Manager
Source:        Health Service Modules Date:          16-3-2012 16:14:26
Event ID:      21405
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
The process started at 16:14:26 failed to create System.PropertyBagData, no errors detected in the output.  The process exited with 0

A script is run to discover objects or to query data (to collect data – a rule – or to monitor and object – a monitor) and should return this data to the MOM.ScriptAPI object so it can be processed. If a script is run without returning data OpsMgr suspects an issue. A script might not return data because of antivirus, DEP or by design. If you design a management pack, continue reading.

Continue reading »