ToolX 1.11.1 [e3f477f]
A GUI debug tool chain for diagnosing GVA systems
Loading...
Searching...
No Matches
vivoe_server_main.cpp File Reference

VIVOE MIB SNMP Server - Standalone executable for testing. More...

#include <QCoreApplication>
#include <QCommandLineParser>
#include <QDebug>
#include <QTimer>
#include <csignal>
#include <iostream>
#include <unistd.h>
#include <sys/types.h>
#include "vivoe_mib_server.h"
#include "common/logging.h"
Include dependency graph for vivoe_server_main.cpp:

Functions

void signalHandler (int signal)
void setupSignalHandlers ()
void daemonize ()
int main (int argc, char *argv[])

Detailed Description

VIVOE MIB SNMP Server - Standalone executable for testing.

This is a TEMPLATE EXAMPLE implementation of a VIVOE MIB SNMP server that simulates a Rheinmetall Trailblaizer camera with day/night video channels.

USAGE: sudo ./vivoe_mib_server [options]

OPTIONS: -p, –port PORT SNMP port (default: 161) -d, –daemon Run as daemon -h, –help Show this help -v, –verbose Print informational and debug messages (stderr) -V, –version Show version

SYSTEMD SERVICE: This server is designed to be deployed as a systemd service. See vivoe-mib-server.service for service configuration.

TESTING: Use ToolX SNMP Walk feature to test this server:

  1. Start this server: sudo ./vivoe_mib_server
  2. Open ToolX and navigate to SNMP tab
  3. Enter server IP address (localhost or 127.0.0.1)
  4. Click "SNMP Walk" to query VIVOE MIB objects