====== Troubleshooting NIOS-X Virtual Hosts ======
===== NIOS-X API Monitor ======
You can monitor NIOS-X servers via API. SNMP is not supported. Docs [[infoblox:api#nios-x_host_monitoring|here]].
===== SSH =====
When you enable HTTPS on a host via CSP, you can log in and enable SSH. It will run on port tcp-2022
putty admin@192.168.1.53 -P 2022
|
| ████████ ██ ███████ ██ ██ ███████ ██ ██ ████████
| ██░░░░░██ ██░ ██░░░░░██ ██ ██░░██░░░░░██ ███ ██░██░░░░░░░
| ██░ ██░██░ ██░ ██░ ██ ██░░ ██░ ██░████ ██░██░
| ████████░ ██░ ██░ ██░ ███░░ ██░ ██░██░██ ██░██████
| ██░ ██ ██░ ██░ ██░ ██░██ ██░ ██░██░ ████░██░░░░░
| ██░ ██░██░ ██░ ██░ ██░░ ██ ██░ ██░██░ ███░██░
| ████████░ ████████ ███████░░██░░ ██ ███████░░██░ ██░████████
| ░░░░░░░░ ░░░░░░░░ ░░░░░░░ ░░ ░░ ░░░░░░░ ░░ ░░ ░░░░░░░░
|
| WARNING:
| Accessing this system must comply with the terms of the EULA.
| Shell access is restricted. Written authorization is required
| prior to connecting to shell access to using any elevated
| privileges on this system.
| Any attempts to reverse engineer, decompile, disassemble or
| otherwise seek to discover any underlying source code or
| algorithms of the Software or Product is expressly prohibited.
| Any attempts to modify, alter or create derivative works of
| the Software or Product is expressly prohibited.
|
End of banner message from server
admin@192.168.1.53's password:
Welcome to BloxOne v3.5 (GNU/Linux 5.4.0-128-generic x86_64)
(ib-debug-cli)$ whoami
permission denied! Restricted to execute command: whoami
NOTE: Please run 'help' to see allowed commands
(ib-debug-cli)$ help
clear - clear the terminal screen
df - report file system disk space usage
dig - DNS lookup utility
du - estimate file space usage
exit - exit the program (console mode), switch to healthchecks (dual mode)
free - display amount of free and used memory in the system
help - display list of commands allowed to execute
ifconfig - display a network interface
iostat - report CPU statistics and input/output statistics for devices and partitions
ip - show routing, network devices, interfaces and tunnels
nslookup - query Internet name servers
ping - send ICMP ECHO_REQUEST to network hosts
route - show the IP routing table
service_config - display and transfer service config file
ss - utility to investigate sockets
ssh - enable or disable ssh
tcpdump - dump traffic on a network
top - display Linux processes
traceroute - print the route packets trace to network host
transfer_sb - transfer support bundle to the remote host using scp protocol
vmstat - report virtual memory statistics
Useful commands
dig
df -h
du -h
free -h
ntpq -p (print a list of NTP peers with FQDN)
ntpq -np (print a list of NTP peers with IP)
service_config view dns
service_config view dhcp
ping -I ens192 192.168.19.1 (in this case we are sending a ping to a remote subnet from the secondary interface "LAN" instead of the main interface. This shows that routing is working for the second interface)
The following pings from the interface
ping -I ens192.19 192.168.61.1