Query: nutscan
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NUTSCAN(3) NUT Manual NUTSCAN(3)NAMEnutscan - Network UPS Tools (NUT) device discovery libraryDESCRIPTIONThe Network UPS Tools (NUT) nutscan library provides the same discovery related features that are also offered by nut-scanner(8). It allows to discover supported NUT devices (USB, SNMP, Eaton XML/HTTP and IPMI) and NUT servers (using Avahi or the classic connection method).DISCOVERY FUNCTIONSFirst, include the needed header file: #include <nut-scan.h> Then, to discover new devices, use the appropriate function: o nutscan_scan_usb(3) for supported USB devices, o nutscan_scan_snmp(3) for supported SNMP agents, o nutscan_scan_xml_http(3) for Eaton Network Management Card, o nutscan_scan_nut(3) for NUT servers (upsd), using the classic method, o nutscan_scan_avahi(3) for NUT servers (upsd), using the mDNS (Avahi) method, o nutscan_scan_ipmi(3) for supported IPMI PSU. All these functions return a list of devices found, using the nutscan_device_t structure. This one is described in nutscan_add_device_to_device(3). Helper functions are also provided to output data using standard format: o nutscan_display_parsable(3) for parsable output, o nutscan_display_ups_conf(3) for ups.conf style.ERROR HANDLINGThere is currently no specific mechanism around error handling.SEE ALSOnut-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) Network UPS Tools 05/22/2012 NUTSCAN(3)
Related Man Pages |
---|
upsset.conf(5) - redhat |
upsset.conf(5) - freebsd |
optiups(8) - php |
optiups(8) - xfree86 |
upsset.conf(5) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
nut 13.1 (Default branch) |
nut 13.6 (Default branch) |
nut 13.7 (Default branch) |
nut 13.8 (Default branch) |
nut 14.1 (Default branch) |