Monitoring (nagios) Proxmox Cluster logs

Gabor Szel

Active Member
Nov 8, 2018
6
0
41
43
Hi!

We make monitoring tools for Proxmox.
We want to monitor the status of the logs.
it's simple using an API.

example: pvesh get /cluster/log

But no documentation was found for the output:
┌─────────┬───────────────────────────────────────────────────────────────────────────────────────────────┬──────┬───────┬─────┬───────────┬────────────┬──────┬──────────┐ │ id │ msg │ node │ pid │ [B]pri[/B] │ tag │ time │ uid │ user │ ╞═════════╪═══════════════════════════════════════════════════════════════════════════════════════════════╪══════╪═══════╪═════╪═══════════╪════════════╪══════╪══════════╡ │ 1441:n1 │ starting task UPID:n1:00007590:36366A42:61E89A4A:vzdump::root@pam: │ n1 │ 30006 │ 6 │ vzdump │ 1642633803 │ 1441 │ root@pam │ ├─────────┼───────────────────────────────────────────────────────────────────────────────────────────────┼──────┼───────┼─────┼───────────┼────────────┼──────┼──────────┤ │ 1442:n1 │ starting task UPID:n1:00007644:36366B2B:61E89A4D:qmshutdown:111:root@pam: │ n1 │ 30104 │ 6 │ qm │ 1642633805 │ 1442 │ root@pam │ ├─────────┼───────────────────────────────────────────────────────────────────────────────────────────────┼──────┼───────┼─────┼───────────┼────────────┼──────┼──────────┤ │ 1443:n1 │ end task UPID:n1:00007644:36366B2B:61E89A4D:qmshutdown:111:root@pam: VM quit/powerdown failed │ n1 │ 30104 │ [B]3[/B] │ qm │ 1642634405 │ 1443 │ root@pam │

I think, "pri" is the status code:
- 6 - OK
- 3 - Error
but other values are conceivable.

Are these codes available somewhere?
 
  • Like
Reactions: Gabor Szel

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!