0% found this document useful (0 votes)
57 views2 pages

Service Nagios

This document describes Nagios service macros, which are used to customize service checks, notifications, and event handlers. It lists the macros, whether they can be used for service checks, notifications, service event handlers, host event handlers, service performance data, and host performance data. Some of the key macros include $SERVICEDESC$, $SERVICESTATE$, $LASTSERVICESTATE$, and $SERVICEOUTPUT$, which provide descriptions, states, last states, and output of service checks.

Uploaded by

sergiut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

Service Nagios

This document describes Nagios service macros, which are used to customize service checks, notifications, and event handlers. It lists the macros, whether they can be used for service checks, notifications, service event handlers, host event handlers, service performance data, and host performance data. Some of the key macros include $SERVICEDESC$, $SERVICESTATE$, $LASTSERVICESTATE$, and $SERVICEOUTPUT$, which provide descriptions, states, last states, and output of service checks.

Uploaded by

sergiut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Nagios Professional Certification

Service Macros

Service Event Host Event


Service Service Host Host Handlers and Handlers Service Perf Host Perf
Macro Name Checks Notifications Checks Notifications OCSP and OCHP Data Data

$SERVICEDESC$ Yes Yes No No Yes No Yes No

$SERVICEDISPLAYNAME$ Yes Yes No No Yes No Yes No

$SERVICESTATE$ Yes Yes No No Yes No Yes No

$SERVICESTATEID$ Yes Yes No No Yes No Yes No

$LASTSERVICESTATE$ Yes Yes No No Yes No Yes No

$LASTSERVICESTATEID$ Yes Yes No No Yes No Yes No

$SERVICESTATETYPE$ Yes Yes No No Yes No Yes No

$SERVICEATTEMPT$ Yes Yes No No Yes No Yes No

$MAXSERVICEATTEMPTS$ Yes Yes No No Yes No Yes No

$SERVICEISVOLATILE$ Yes Yes No No Yes No Yes No

$SERVICEEVENTID$ Yes Yes No No Yes No Yes No

$LASTSERVICEEVENTID$ Yes Yes No No Yes No Yes No

$SERVICEPROBLEMID$ Yes Yes No No Yes No Yes No

$LASTSERVICEPROBLEMID$ Yes Yes No No Yes No Yes No

$SERVICELATENCY$ Yes Yes No No Yes No Yes No

$SERVICEEXECUTIONTIME$ Yes Yes No No Yes No Yes No

$SERVICEDURATION$ Yes Yes No No Yes No Yes No

$SERVICEDURATIONSEC$ Yes Yes No No Yes No Yes No

$SERVICEDOWNTIME$ Yes Yes No No Yes No Yes No

$SERVICEPERCENTCHANGE$ Yes Yes No No Yes No Yes No

$SERVICEGROUPNAME$ Yes Yes No No Yes No Yes No

$SERVICEGROUPNAMES$ Yes Yes No No Yes No Yes No

$LASTSERVICECHECK$ Yes Yes No No Yes No Yes No

$LASTSERVICESTATECHANGE Yes Yes No No Yes No Yes No


$

$LASTSERVICEOK$ Yes Yes No No Yes No Yes No

$LASTSERVICEWARNING$ Yes Yes No No Yes No Yes No

$LASTSERVICEUNKNOWN$ Yes Yes No No Yes No Yes No

$LASTSERVICECRITICAL$ Yes Yes No No Yes No Yes No

$SERVICEOUTPUT$ Yes Yes No No Yes No Yes No

$LONGSERVICEOUTPUT$ Yes Yes No No Yes No Yes No

Page 1 of 2
Service Event Host Event
Service Service Host Host Handlers and Handlers Service Perf Host Perf
Macro Name Checks Notifications Checks Notifications OCSP and OCHP Data Data

$SERVICEPERFDATA$ Yes Yes No No Yes No Yes No

$SERVICECHECKCOMMAND$ Yes Yes No No Yes No Yes No

$SERVICEACKAUTHOR$ No Yes No No No No No No

$SERVICEACKAUTHORNAME$ No Yes No No No No No No

$SERVICEACKAUTHORALIAS$ No Yes No No No No No No

$SERVICEACKCOMMENT$ No Yes No No No No No No

$SERVICEACTIONURL$ Yes Yes No No Yes No Yes No

$SERVICENOTESURL$ Yes Yes No No Yes No Yes No

$SERVICENOTES$ Yes Yes No No Yes No Yes No

Page 2 of 2

You might also like