Owner's Manual
68 | Smart Scripting
www.dell.com | support.dell.com
NET SNMP Client
To manage the device using SNMP through scripts, Dell Networking OS supports
NetSNMP client. You can run scripts that use SNMP to manage the data center/
devices from within the Dell Networking OS itself. Dell Networking OS provides
Perl and Python interfaces for NetSNMP client and to execute the SNMP operations,
you can also use
tclsh exec command. As a part of Net SNMP client, the following
utility applications are supported:
• snmpwalk
• snmpget
• snmpset
• snmpbulkget
• snmpbulkwalk
• snmpgetnext
Managing Executed Scripts
Manage or control the scripts such as to stop, kill, resume, unscheduled, and clear by
using any one of the following commands.
Protect system resources by scheduling scripts to run when resources are within
configured threshold parameters. System resources include switch CPU, memory,
and file system.
Dell#show script process detail
JobID Script Type Script Status Username Script Name Args
000 TRIGGER Running admin admin.pl
001 REPEAT Running user1 sample.zsh hello
002 CONF WATCH Watch Blocked user2 args.pl
003 EXEC Scheduled user2 args.pl hi
Dell#
To monitor the running script, use the watch command.
Dell#show script watch details
JobID Script Type Script Status Reset Count Watch StartTime Script NameArgs Username
002 CONF WATCH Watch Blocked 3 Tue Dec 3 18:04:28 2013 args.pl
user2
To control the script that is running based on the system resources such as CPU,
memory or disk I/O usage, use the
switch script limit cpu <percentage> memory
<percentage> diskio <percentage> command.