这是什么文件格式? (用于perl脚本状态)

时间:2018-12-19 04:17:21

标签: perl format nagios

我试图找出nagios中的格式状态文件是什么,它具有.dat扩展名,但不是标准的.dat(至少不是windows .dat)

以下是格式的示例

contactstatus {
        contact_name=noc
        modified_attributes=0
        modified_host_attributes=0
        modified_service_attributes=0
        host_notification_period=24x7
        service_notification_period=24x7
        last_host_notification=0
        last_service_notification=1545078717
        host_notifications_enabled=1
        service_notifications_enabled=1
        }

contactstatus {
        contact_name=slack
        modified_attributes=0
        modified_host_attributes=0
        modified_service_attributes=0
        host_notification_period=24x7
        service_notification_period=24x7
        last_host_notification=0
        last_service_notification=1545078717
        host_notifications_enabled=1
        service_notifications_enabled=1
        }

1 个答案:

答案 0 :(得分:0)

发现它不是标准,而是nagios自定义格式

相关问题