Specifies the location of the status file.
+=item B<ImprovedNamingSchema> B<true>|B<false>
+
+When enabled, the filename of the status file will be used as plugin instance
+and the client's "common name" will be used as type instance. This is required
+when reading multiple status files. Enabling this option is recommended, but to
+maintain backwards compatibility this option is disabled by default.
+
=item B<CollectCompression> B<true>|B<false>
Sets whether or not statistics about the compression used by OpenVPN should be
{
ERROR ("netapp plugin: cna_handle_volume_snap_usage: "
"na_elem_child (\"snapshots\") failed "
- "for host %s.", hostname);
+ "for host %s.", host->name);
na_elem_free(data);
return;
}
{
ERROR ("netapp plugin: cna_handle_volume_usage_data: "
"na_elem_child (\"volumes\") failed "
- "for host %s.", hostname);
+ "for host %s.", host->name);
return (-1);
}
{
if (new_naming_schema)
{
- iostats_submit (fields[0], /* "Common Name" */
- NULL, /* unused when in multimode */
+ iostats_submit (name, /* vpn instance */
+ fields[0], /* "Common Name" */
atoll (fields[2]), /* "Bytes Received" */
atoll (fields[3])); /* "Bytes Sent" */
}
else
{
- iostats_submit (name, /* vpn instance */
- fields[0], /* "Common Name" */
+ iostats_submit (fields[0], /* "Common Name" */
+ NULL, /* unused when in multimode */
atoll (fields[2]), /* "Bytes Received" */
atoll (fields[3])); /* "Bytes Sent" */
}