table of contents
NUTSCAN(3) | NUT Manual | NUTSCAN(3) |
NAME¶
nutscan - Network UPS Tools (NUT) device discovery libraryDESCRIPTION¶
The Network UPS Tools (NUT) nutscan library provides the same discovery related features that are also offered by nut-scanner(8).DISCOVERY FUNCTIONS¶
First, include the needed header file:#include <nut-scan.h>
•
nutscan_scan_usb(3) for supported USB devices,
•
nutscan_scan_snmp(3) for supported SNMP agents,
•
nutscan_scan_xml_http(3) for Eaton Network Management Card,
•
nutscan_scan_nut(3) for NUT servers (upsd), using the classic
method,
•
nutscan_scan_avahi(3) for NUT servers (upsd), using the mDNS (Avahi)
method,
•
nutscan_scan_ipmi(3) for supported IPMI PSU.
•
nutscan_display_parsable(3) for parsable output,
•
nutscan_display_ups_conf(3) for ups.conf style.
ERROR HANDLING¶
There is currently no specific mechanism around error handling.SEE ALSO¶
nut-scanner(8), nutscan_scan_usb(3), nutscan_scan_snmp(3) nutscan_scan_xml_http(3), nutscan_scan_nut(3) nutscan_scan_avahi(3), nutscan_scan_ipmi(3) nutscan_display_parsable(3), nutscan_display_ups_conf(3) nutscan_new_device(3), nutscan_free_device(3) nutscan_add_device_to_device(3), nutscan_add_option_to_device(3) nutscan_cidr_to_ip(3)05/22/2012 | Network UPS Tools |