VisorMon User Guide
Chapter 8
Search, tasks and alerts
Searching the cluster, following tasks and their logs, notifications and alerts.
8.1Searching the cluster
Cluster search finds anything in your cluster that your account can see: nodes, virtual machines (VMs), containers, storage and resource pools. Open it from the magnifier button, Search cluster, at the top right of the Dashboard, Nodes, Guests, Storage and Settings tabs, or of the guests dashboard.
- Tap the magnifier. The Browse screen opens, with everything grouped by node.
- Type in the Search cluster box. Its hint, Name, VMID, node, pool, tag, lists the main things you can search for. The list narrows as you type.
- To group the results differently, tap Server, Folder, Pool or Tag.
- Tap a group to open it, and tap it again to close it.
- Tap an item to open it.
Each item shows its name and a line of details, for example VM • VMID 100 • pve • running • pool homelab for a guest, or pve • dir • available for a storage. If nothing matches, the screen says No matching resources.
Browse opens in the Server view with an empty search box each time.
Views
| View | Groups |
|---|---|
| Server | A group for each node, with its status, such as online, under its name. Inside are the guests and storage on that node. If your cluster has resource pools, a Pools group at the end lists them. A node with nothing on it says No guests or storage. |
| Folder | A group for each kind of item: Nodes, Virtual machines, Containers, Storage and Pools. Anything else is under Other. |
| Pool | A group for each resource pool, with the guests in it. Everything that is not in a pool, including nodes and storage, is under No pool. |
| Tag | A group for each tag. A guest with several tags appears in the group for each one. Everything without a tag, including nodes and storage, is under Untagged at the end. |
Inside a group, nodes come first, then VMs, then containers, then storage, then pools. Guests are in order of VMID, and everything else by name.
What the search matches
The search ignores capital letters and matches any part of:
- a name, a VMID, a node's name, a pool's name or a tag;
- the details line, such as a status (
running,stopped,online), a storage type (dir,zfspool) or the wordtemplate.
So typing template finds your templates, and typing stopped finds the guests that are off.
In the Server view, if what you type matches a node, that node's group shows everything on the node, not only the items that match.
Opening a result
| Tap | To open |
|---|---|
| A node | The node's page. See Nodes. |
| A VM or container | The guest's page. See Working with a guest. |
| A storage | The storage's contents. See Storage. |
| A pool | A list of the guests in the pool. The guests in that list can't be opened from it: go back and tap the guest in the search results instead. |
A few kinds of item can't be opened, such as software-defined networking (SDN) zones. Tapping one shows a message such as sdn is not opened yet.
What Browse shows
Browse loads the cluster's resources when you open it and does not refresh on its own. Pull down on the list to load it again.
It lists only what Proxmox lets your account see. Nodes are always listed. A guest needs VM.Audit on it, a storage Datastore.Audit and a pool Pool.Audit. A guest's pool shows in its details, and in the Pool view, only if you have Pool.Audit on that pool.
Browse only finds and opens things. It sends no changes to your server.
8.2Cluster tasks
Proxmox runs longer jobs, such as backups, migrations and starting a guest, as tasks, and keeps a log of each one. The task list shows the cluster's recent tasks, from every node.
To open the list, tap the clock button, Cluster tasks, at the top right of any main tab. When tasks are running, a number on the button shows how many.
The newest tasks are at the top. Each task shows:
- Name
- The task type, followed by what it is for, usually a guest's VMID. For example, vzdump 102 is a backup of guest 102. See Reading task names.
- Details
- The node it ran on, the user who started it, and how long ago it started, for example pve2 • root@pam • 1m.
- Status
- running while it runs, OK when it finished without problems, or the message Proxmox recorded, in red, such as VM quit/powerdown failed. Warnings are shown in red too.
The list refreshes on its own while VisorMon is open, as often as Settings › Data refresh says: about every 5 seconds, 30 seconds or 5 minutes (see Settings). It also refreshes right after you start some tasks from VisorMon, such as a backup, a restore, a migration or a clone. To refresh it now, tap Refresh at the top right, or pull down on the list. If there are no tasks, it says No cluster tasks.
The list has no filter or search. To see the tasks of one node, open the node's Tasks (see Nodes). A guest's page lists that guest's recent tasks (see Working with a guest).
With Sys.Audit on /, you see every task in the cluster. Without it, Proxmox shows only the tasks started by your own account.
Reading task names
Proxmox names tasks with short codes. Names that start with qm are for VMs and names that start with vz are for containers, except vzdump, which backs up both. Some common ones:
| Task | What it does |
|---|---|
vzdump | Backs up a VM or container |
qmstart, qmshutdown, qmstop, qmreboot | Starts, shuts down, stops or reboots a VM |
vzstart, vzshutdown, vzstop, vzreboot | The same for a container |
qmsnapshot, vzsnapshot | Takes a snapshot |
qmigrate, vzmigrate | Migrates a guest to another node |
qmclone, vzclone | Clones a guest |
qmrestore, vzrestore | Restores a backup |
aptupdate | Refreshes a node's list of available updates |
A task's log
Tap a task to open it. At the top are the task type, its details (for example ID 100 • pve • root@pam) and its status. Below, under Log, are the lines Proxmox recorded, in a fixed-width font. Touch and hold the log to select and copy text. A task with an empty log says No log lines.
Good to know:
- VisorMon shows the first 50 lines of the log. For a longer log, such as a large backup's, read the rest in the Proxmox web interface.
- The log is read once, when you open the task. For a task that is still running, go back and open it again to see newer lines.
- The status at the top is the one the task had when you opened it.
- You can always read the logs of your own tasks. For other people's tasks, Proxmox asks for
Sys.Auditon the node (/nodes/<node>). Without it, VisorMon shows No permission where the log would be.
Stopping a running task
A task that was running when you opened it has an Abort button at the top right.
- Open the running task from the list.
- Tap Abort.
- VisorMon asks Abort task?, naming the task, and reminds you that Work already finished stays as it is. Tap Abort to stop it, or Cancel.
VisorMon asks Proxmox to stop the task, then reloads the log and the task list. The open task page keeps its old status and its Abort button, so go back to the list to see how the task ended.
- Privileges. You can stop your own tasks. To stop someone else's, Proxmox asks for
Sys.Modifyon the node (/nodes/<node>). If Proxmox turns the request down, VisorMon shows No permission where the log would be. - Read-only mode. Stopping a task is a change, so read-only mode blocks it. VisorMon shows Read only is on. Turn it off in Settings to make this change. where the log would be. See Security and privacy.
- Audit log. VisorMon records the request in its audit log, or records that read-only mode blocked it (see Security and privacy).
- Demo mode. Nothing is sent. VisorMon shows This is sample data. Nothing was sent.
8.3Alerts and notifications
VisorMon has one alert: it tells you when it can't refresh the dashboard from your server. It shows the alert in the app and, if you allow it, as a notification on your phone.
When VisorMon raises the alert
The dashboard refreshes on its own as often as Settings › Data refresh says, even while you are on another tab, and when you pull down on it. If a refresh fails, for example because the server is off, your phone has left the network the server is on, or the server does not answer in time, VisorMon does the following, as long as it has loaded the dashboard successfully on this device at least once before:
- A banner at the top of the main tabs reads Showing saved data from, followed by the date and time of the last successful refresh.
- A Needs attention bar appears below it, reading Could not refresh. Tap it to open the Alerts screen, which lists Could not refresh: Showing the last saved dashboard.
- The dashboard keeps showing the figures from its last successful refresh, and Last updated stays at that time. If nothing has loaded since you opened VisorMon, the dashboard shows the error instead (see The dashboard).
- If Enable notifications is on, your phone shows a notification titled Could not refresh, with the text Showing the last saved dashboard.
You get one notification each time the connection is lost, not one per failed refresh. When a refresh succeeds again, the banner and the Needs attention bar go away, and the next failure raises the alert again.
The banner and the bar show on the five main tabs, not on the screens you open from them. For help with the connection itself, see Troubleshooting.
Turning notifications on or off
Phone notifications are controlled by Enable notifications in Settings, which is on until you turn it off (see Settings). Turning it off stops only the phone notification. The banner and the Needs attention bar still appear in the app.
Your phone must also allow VisorMon to send notifications:
- iPhone. VisorMon asks for permission the first time it starts. If you said no, allow notifications for VisorMon in the iPhone's Settings app. The switch in VisorMon can't override the phone's setting.
- Android. VisorMon asks for permission when you turn Enable notifications on. The switch starts out on, so if you have never been asked, turn it off and on again. The notifications use a channel called VisorMon Alerts, which you can also manage in Android's settings for the app.
What the alert can't do
- It only covers the connection. VisorMon does not notify you when a guest stops, a node goes offline, a task fails, storage fills up or a reading is high. In a cluster, if one node goes down but the server VisorMon connects to still answers, the refresh succeeds and there is no alert. You see these things when you open the dashboard, the task list or the Storage tab (see The dashboard).
- It only works while VisorMon is running. VisorMon does not use push notifications. The app itself does the checking, on your phone, so once your phone suspends or closes VisorMon, nothing is checked and no alert arrives.
- It needs a first successful load. Until VisorMon has loaded the dashboard from a server on this device, a failed refresh raises no alert.
To be told about problems around the clock, set up notifications in Proxmox VE itself, under Datacenter › Notifications in the web interface.