Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FIn FIn addition to the browser-based interface accessible via HTTP (port 80) and HTTPS (port 443), NetMRI supports a command-line interface accessible via SSH (port 22). The administrative shell accepts a variety of commands that are useful for troubleshooting and maintenance.

...

The cat command is a basic Linux command. Depending on the system you are working in, the available options for this command may vary.

clear command

Use the clear command to clear the terminal screen.

...

Use the grep command to search a file for a particular pattern of characters. The command displays all lines that contain that pattern. By default, the pattern is a regular expression.

The following is the command syntax:

grep [options] pattern [files]

Example:

netmrivm193> grep -i 'hello world' menu.h main.c

...

Anchor
halt command
halt command
halt command

Use the halt command to shut down NetMRI, shut down the server, and then power off.

help command

Use the help command to display a list of commands available in the administrative shell.

installdsb command

Use the installdsb command to install a device support bundle in the system. Device support bundles can contain changes in the database tables, CSS scripts, and MIB files that are necessary for the correct discovery of devices.

...

Note

The NetMRI NT-1400 appliance is licensed as standalone even if the OC license is applied. For information about the NetMRI NT-1400 appliance, see Operations Center Appliances and Requirements.


Note

For the Customer Name field, use only US-ASCII symbols.

Example 1 Sample output when you continue to use an existing license

...

2017-08-02 22:17:38 [info] License Type: Full NetMRI (Customer)
2017-08-02 22:17:38 [info] License Source: N/A
2017-08-02 22:17:38 [info] Customer Name: FULLNM
2017-08-02 22:17:38 [info] Controller role: Standalone
2017-08-02 22:17:38 [info] Device Limit: 1000
2017-08-02 22:17:38 [info] Maintenance Expiration: 2020-07-20
2017-08-02 22:17:38 [info] Modules Info:
2017-08-02 22:17:38 [info] Full NetMRI: on, Expired: Never
2017-08-02 22:17:38 [info] Automation Change Manager: off, Expired: Expired
2017-08-02 22:17:38 [info] Switch Port Management: off, Expired: Expired
2017-08-02 22:17:38 [info] NetMRI without SPM: off, Expired: Expired
2017-08-02 22:17:38 [info] IPAM Insight (Discovery): off, Expired: Expired
2017-08-02 22:17:38 [info] Network Automation: off, Expired: Expired

ls command

The ls command lists files and directories within the file system and displays detailed information about them. 

The syntax for the ls command is as follows:

ls [options] [files]

The ls command is a basic Linux command. Depending on the system you are working in, the available options for this command may vary.

...

more command

Use the more command to view long text files. The command displays one section of the file at a time and allows you to scroll all the way to the end of the file.

The syntax of the more command is as follows:

more [options] file

The more command is a basic Linux command. Depending on the system you are working in, the available options for this command may vary.

...

Anchor
Provisiondisk command
Provisiondisk command
Anchor
bookmark869
bookmark869
provisiondisk command

Use the provisiondisk command to extend the NetMRI VM storage per volume.

...

Anchor
Removedsb command
Removedsb command
Anchor
bookmark873
bookmark873
removedsb command

Note
titleNote

Before running the removedsb command in your system, obtain instructions from Infoblox Support.

Use the removedsb command to delete device support bundle files from the default directory /var/local/netmri/dsb in the local NetMRI appliance. This is generally a housekeeping command, but exercise caution when deleting database files.

...

acl

Displays the internal ACL filter list automatically generated by the NetMRI appliance (this is a security measure to protect the NetMRI system.

certificate

Displays the currently installed NetMRI HTTPS certificate.

collectors

Allows you to run some subcommands of the show command on a collector. 

The following is the command syntax:

show collectors [all | CollectorID command]

You can run the following commands on the collector: acl, discovery, date, dbprocs, diagnosticlog, disk, ethernet, id, interfaces, io, license, load, memory, process, route, servers, settings, stats, tech, tunclient, updatehistory, updatelog, version, virtual, or sandbox. These commands are similar to the subcommands of the show command. To run a command on a collector, enter the collector ID followed by the name of the command.

Example:

show collectors 1 route

When you run the show collector command without an argument, the administrative shell displays the list of the collectors on the operations center. 

date

Shows the current system date and time.

dbprocs

Shows the complete lists of system tasks tied to database management in the system, Process ID, User, database being modified, and other information.

diagnosticlog

Executes a diagnostic script in NetMRI to perform a check on the system.

discovery

Lists the complete table of the discovery database for the current NetMRI system.

disk

Shows the file system disk space usage. The output of the show disk command is similar to the output of the Linux df -h command.

diskusage

Shows the disk space usage of the file system and the sizes of the following folders:

  • /home/admin
  • /tools/skipjack/logs
  • /var/lib/mysql
  • /var/local/netmri/cli/dataEngine
  • /var/local/netmri/sandbox
  • /var/local/netmri
  • /var/tmp
drbd

Shows the version of the distributed replicated block device (DRBD).

Example:

rgrace64-212.inca.infoblox.com> show drbd
version: 8.4.3 (api:1/proto:86-101)
srcversion: 9D811F04CD6DC2C9A9A608F
rgrace64-212.inca.infoblox.com>

dsb

Shows detailed information about the installed device support bundles (DSB).

Example:

rgrace64-212.inca.infoblox.com> show dsb
+-----------------------------------------------------------+--------------+----------+---------+
| name | version | author | enabled |
+-----------------------------------------------------------+--------------+----------+---------+
| CheckPoint_26000_Gaia_R80_30 | 202103240000 | Infoblox | true |
+-----------------------------------------------------------+--------------+----------+---------+
rgrace64-212.inca.infoblox.com>

ethernet

Shows the complete Ethernet port configuration for the current NetMRI appliance.

id

Lists the current appliance's serial number.

idmethods

Show the system settings for device identification methods during Discovery, including Vendor (1), Model (2), OS Version (3) or Device Type (4). entering a number from 1-4 displays a table of a category of network device identity properties currently defined in NetMRI.

interfaces

Displays the complete list of physical and virtual interfaces built into or bound to the current NetMRI instance.

io

Displays a quick assessment of the current system load and throughput. May be useful in troubleshooting.

license

Shows the your current licensing status for the NetMRI instance; also displays the current Platform Device Limit, License Device Limit and Effective Device Limit for all licenses installed in the system. Warning alerts also appear if any license limits are overridden for any cause.

loadShows how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

memory

Provides a listing NetMRI license configuration. You can also view your license features, license type, expiration date, and license ID information.

Example:

netmrivm193> show license

License Information:

--------------------------------
Serial Number: VM-94AD-61B27
License ID: VM-94AD-61B27-20170308-0124361
License Expires: Never
License Type: Customer
Mode: standalone
Maintenance Expires: 2020-03-09
Licensed Device Limit: 1,000

License Features:
Switch Port Manager Support: off
Switch Port Manager Expiration: N/A
Automation Change Manager Support: off
Automation Change Manager Expiration: N/A
NetMRI Support: on
NetMRI Expiration: Never
Security Device Controller Support: off
Security Device Controller Expiration: N/A
Voip Support: on
Voip Expiration: Never


loadShows how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

memory

Provides a listing of memory usage for the current NetMRI instance.

process

Lists all the computing processes running in the current NetMRI instance.

route

Displays the routing table for the current appliance. For more information, see the Sandbox command.


servers

Separately lists the server processes running in NetMRI, the number of CPU cycles and memory each occupies, and other information.

settings

Lists the key configuration settings for the current NetMRI instance, including the management and scan port IPs and assigned names.

stats

Displays basic system statistics including the current date, average CPU usage, average level of free memory, and the disk usage by the current system.

tech

Displays a broad overview of information about the current NetMRI instance for use by technical support, including the system timestamp, discovery settings, network connections, port configuration, and other elements.

tunclient

Displays Collector VPN settings and connection status to the Operations Center Controller.

tunserver

Displays Operations Center Controller's VPN settings and lists attached Controllers (applies only to OC Controllers).

updatehistory

Lists the brief version of the update history for the current NetMRI instance.

updatelog

Lists the verbose information about the current NetMRI instance's history of system software updates.

version

Displays NetMRI version, serial number, network name, and server name.

virtual

Displays information about the appliance's virtual memory usage (swap file partitions, etc.) including memory, processes, interrupts, paging, and block I/O. Similar to the Unix vmstat command.

...

The show license command displays your current NetMRI license configuration. You can also view your license features, license type, expiration date, and license ID information.

Example:

netmrivm193> show license

License Information:

...

The command prompts for further information before executing (if only one network view exists in the NetMRI appliance, you will not be prompted to enter that value):

SA4-17> snmpwalk

Enter SNMP hostname or IP address []: 172.19.4.192

Enter Network View []: MGMT

Enter SNMP version (1, 2c, 3) [2c]: 3

Enter SNMP Username ]: aes_username

SNMP Authentication [no]: yes

Enter SNMP Authentication Passphrase ]: my_passwd

Enter SNMP Authentication Protocol [MD5]: sha

SNMP Privacy [no]: yes

Enter SNMP Privacy Passphrase ]: my_aes_passwd

Enter SNMP Privacy Protocol [DES]: aes-256

Enter Root OID to start walk [system]:

Use legacy snmpwalk tool [n]:

+++ Executing snmpwalk ...

#######################################################################

# Generated by NetMRI Administrator SNMP Walk

...

# StartTime: Mon Aug302:01:06 PDT 2020

#######################################################################


sysDescr.0 = DisplayString : Linux stsitou-deb10 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64

sysObjectID.0 = ObjectIdentifier : 1.3.6.1.4.1.8072.3.2.10 (Net-SNMP Net-SNMP)

sysUpTime.0 = TimeTicks : 40923950

sysContact.0 = DisplayString : Me <me@example.org>

sysName.0 = DisplayString : stsitou-deb10

sysLocation.0 = DisplayString : Sitting on the Dock of the Bay

sysServices.0 = Integer32 : 4

sysORLastChange.0 = TimeStamp : 0

...

sysORUpTime.10 = TimeStamp : 0


#######################################################################

# EndTime: Mon Aug 3 02:01:06 PDT 2020

#######################################################################


+++ Results stored in snmpwalk-172-19-4-192.txt

...

Use the top command to display Linux tasks. It provides a dynamic real-time view of the running system. This command shows the summary information of the system and the list of processes or threads which are currently managed by the Linux Kernel.

The following is the command syntax:

...