Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
OK - 2 event(s) of Severity Level: "Error,Warning,Information", were recorded in the last 72 hours from the DFS Replication Event Log. (List is on next line. Fields shown are - Logfile:TimeGenerated:EventId:EventCode:SeverityLevel:Type:SourceName:Message)|'Event Count'=2;
DFS Replication:20160506043702.000000-000:1073746828:5004:Information:DFSR:The DFS Replication service successfully established an inbound connection with partner SERVER for replication group Videos. Additional Information: Connection Address Used: SERVER.SOMETHING.LOCAL Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0
WARNING - [Triggered by _ItemCount>-] - 2 event(s) of Severity Level: "Error,Warning,Information", were recorded in the last 72 hours from the DFS Replication Event Log. (List is on next line. Fields shown are - Logfile:TimeGenerated:EventId:EventCode:SeverityLevel:Type:SourceName:Message)
Warning,Information", were recorded in the last 72 hours from the DFS Replication Event Log. (List is on next line. Fields shown are - Logfile:TimeGenerated:EventId:EventCode:SeverityLevel:Type:SourceName:Message)
[1462755697] SERVICE NOTIFICATION: nagiosadmin;SERVER;DFS Replication Log;WARNING;notify-service-by-email;WARNING - [Triggered by _ItemCount>-] - 2 event(s) of Severity Level: "Error,Warning,Information", were recorded in the last 72 hours from the DFS Replication Event Log. (List is on next line. Fields shown are - Logfile:TimeGenerated:EventId:EventCode:SeverityLevel:Type:SourceName:Message)
[1462755697] wproc: host=SERVER; service=DFS Replication Log; contact=nagiosadmin
define service {
use windows_service
host_name SERVER
service_description DFS Replication Log
check_command check_win_eventlog!'DFS Replication'!3!72
}
|'Event Count'=2;
DFS Replication:20160506043702.000000-000:1073746828:5004:Information:DFSR:The DFS Replication service successfully established an inbound connection with partner SERVER for replication group Videos. Additional Information: Connection Address Used: SERVER.SOMETHING.LOCAL Connection ID: B20EB123-BA52-4664-989E-4E82E40B003A Replication Group ID: 9216FA20-EC35-4FAF-A767-B2430B1806A0
Anything after | is going to be considered the performance data, which is why you aren't seeing any of the remaining information.
Nagios 3 and newer will concatenate the parts following a "|" in a) the first line output by the plugin, and b) in the second to last line, into a string it passes to whatever performance data processing it has configured. (Note that it currently does not insert additional whitespace between both, so the plugin needs to provide some to prevent the last pair of a) and the first of b) getting run together.) Please refer to the Nagios documentation for information on how to configure such processing. However, it is the responsibility of the plugin writer to ensure the performance data is in a "Nagios Plugins" format. This is the expected format:
'label'=value[UOM];[warn];[crit];[min];[max]
Anything to the right of the pipe symbol will not appear as status information, but it should still appear as performance data (even though it shouldn't be there):
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.