2012-06-07 07:44 AM
Is it possible to create a new event or adjust an existing event threshold?
We want to page on inodes 95% full. The inodes-full event looks to have a threshold of 90%.
Can we change that? If not, can we create a new event with a 95% threshold? Or is there any other way to accomplish what we want to do?
We are running OnCommand core 5.0 currently, planning to upgrade to 5.0.1 soon.
2012-06-07 08:43 AM
This issue has already been addressed in communities ( script that can generate inode full and nearly full events independent of volume full thresholds), please find the link below :
The inode events use the custom thresholds of volume full and volume nearly full.There are no separate thresholds for the inodes, so as the script has been developed to use custom events.
Regarding creating events :
You can use "dfm event generate" CLI or NMSDK API "event-generate" to generate custom/built in events:
[root@oncommand ~]# dfm event generate help
generate -- generate a particular user-defined event
dfm event generate [ -t <timestamp> ] <event-name> <source> [ <event-message> ]
This command is used to generate custom events. Script plugins can
use the command to generate built-in script status events such as
script:warning-event. This command cannot be used to generate other
timestamp: specifies the event generation time in
If not specified, the time when the command is invoked is used.
event-name: specifies the name of the event.
source: specifies ID/name of source object of the event.
event-message: A message specific to this event.
This message will be displayed as part of event details.