Skip to main content

OIBus Agent: Overview & Installation

The OIBus Agent is a lightweight Windows service that enables protocol-specific data collection for technologies that require native Windows integration.

Key Features

FeatureSupported ProtocolsBenefits
Windows-native accessOPC Classic™, OLEDB, OSIsoft PI™Direct integration with Windows technologies
Service integrationWindows Service ManagerReliable background operation
Cross-architecturex64, x86, ARM64Supports all modern Windows systems

Download

System Requirements

RequirementSpecification
Operating SystemWindows 10/11, Windows Server 2016+
Architecturex64, x86, or ARM64
.NET Framework4.8 or later
Disk Space50 MB minimum
Memory128 MB minimum

Installation

Package Contents

When you unzip the downloaded archive, you'll find these files:

FilePurpose
OIBusAgent.exeMain executable
install-agent.batService installation script
uninstall-agent.batService removal script

Installation Methods

# Default installation (port 2224, service name "OIBusAgent")
install-agent.bat

# Custom installation
install-agent.bat -n="CustomServiceName" -p=2225
ParameterDescriptionDefault Value
-nService name"OIBusAgent"
-pHTTP port2224

2. Manual Execution

# Default port (2224)
OIBusAgent.exe

# Custom port
OIBusAgent.exe -p 2225

Update Procedure

  1. Stop the existing service (if running)
  2. Extract the new version files
  3. Replace the old files with the new ones
  4. Restart the service

Uninstallation

# Default service name
uninstall-agent.bat

# Custom service name
uninstall-agent.bat -n="CustomServiceName"

Usage Modes

1. Integrated with OIBus

  • Acts as a protocol bridge for OIBus South connectors
  • Handles Windows-specific protocols transparently
  • Automatic service management through OIBus interface

2. Standalone Mode

  • Direct HTTP API access
  • Independent operation from OIBus
  • Suitable for custom integrations

Post-Installation

  1. Verify Installation:
sc query "OIBusAgent"

(or your custom service name)

  1. Check Service Status:
  • Open Services Manager (services.msc)
  • Look for "OIBusAgent" (or your custom name)
  • Verify status is "Running"
  1. Test Connectivity:
curl http://localhost:2224/api/status

Should return:

{ "status": "running", "version": "__VERSION__" }