Related to:
Gateway Commands, Snooze a target path for a specific duration
Problem:
How to snooze a specific DataItem for a specific duration.
Solution:
You can use the /SNOOZE:time command and please follow the correct arguments based on the article (Provided a snippet below):

Example:
If you want to snooze a Data item for 30 minutes, you may use the command below as an example:
curl -v -X POST \
-H "Content-Type: application/json" \
-d '{
"command": "/SNOOZE:time",
"target": "/geneos/gateway[(@name=\"gw_6.6y\")]/directory/probe[(@name=\"probe_6.6\")]/managedEntity[(@name=\"me_6.6\")]",
"args": {
"1": "Snooze for 30 minute",
"4": 30,
"5": 3600
}
}' \
http://<GW_IP>:<GW_PORT>/rest/runCommand
Using Argument 4 as the desired time:
"4":30
Using Argument 5:
"5":3600 (This is for hours)
"5":60 (This is for minutes)
"5":86400 (This is for days)
Your command should show as:
Output:
Log output:
2026-02-08 15:59:15.724+0800 INFO: CommandManager Executing command [/SNOOZE:time] with id [47] for request id [8]
2026-02-08 15:59:15.725+0800 INFO: CommandManager Executing command '/SNOOZE:time' on DataItem '/geneos/gateway[(@name="gw_6.6y")]/directory/probe[(@name="probe_6.6")]/managedEntity[(@name="me_6.6")]', issued by anonymous user on '192.168.101.73' using REST service
If you need further help:
-
Please contact our support team via the chat service box on any of our websites or raise a support request.
-
Make sure you provide us with:
- Background of the issue or request.
- Use cases, requirements, business impact, etc.
- Encountered error messages.
- Log files or diagnostic files.
- Screenshots.
- And other important information relevant to your inquiry.
Comments
0 comments
Please sign in to leave a comment.