Page 1 of 1

NdoUtils Stability on Nagios Core 4

Posted: Tue Jul 05, 2016 10:43 pm
by romoval
Dear all:

I see in the latest documentation I could find that NdoUtils last update was on 2014, last document update was on 2012 and that the last document I could find mentions stability issues on Nagios Core 4.

I can also see posts active right now in this board regarding that.

Can anyone let me know if this is something that has been enhanced in Nagios IX?

Does Nagios IX offer an alternate method to write the stats to another DB I can access via JDBC? Oracle maybe?

We need to integrate the availability information in a JDBC reporting tool and I need to have the Nagios data in any JDBC compatible database.

Thanks and regards,

Roman.

Re: NdoUtils Stability on Nagios Core 4

Posted: Wed Jul 06, 2016 11:29 am
by rkennedy
Personally, I haven't seen many issues with NDO operating properly on an XI machine. As for others, it really all depends how it's setup since we handle the whole setup when it comes to XI.

NDO is included with XI. At this point the only supported DB is going to be mysql / maria. We do not have any alternative methods available. You may be able to re-write it to your needs, however, we won't be able to provide support to help.

XI has a built in API that should be able to let you pull any metrics you're looking for. For example -
curl -XGET "http://192.168.4.179/nagiosxi/api/v1/ob ... s&pretty=1"

Code: Select all

{
    "servicestatuslist": {
        "recordcount": "59",
        "servicestatus": [
            {
                "@attributes": {
                    "id": "3081"
                },
                "instance_id": "1",
                "service_id": "195",
                "host_id": "187",
                "host_name": "test123",
                "name": "Domain Expiration",
                "host_display_name": "",
                "host_address": "127.0.0.1",
                "display_name": "Domain Expiration",
                "status_update_time": "2015-09-24 02:33:54",
                "status_text": "CRITICAL - Domain 'test123' will expire in -16699 days (The expiration date displayed in this record is the date the).",
                "status_text_long": "",
                "current_state": "2",
                "performance_data": "",
                "should_be_scheduled": "1",
                "check_type": "0",
                "last_state_change": "2015-09-22 05:44:33",
                "last_hard_state_change": "2015-09-22 05:48:27",
                "last_hard_state": "2",
                "last_time_ok": "2015-09-19 19:27:11",
                "last_time_warning": "1969-12-31 18:00:00",
                "last_time_critical": "2015-09-21 02:24:18",
                "last_time_unknown": "1969-12-31 18:00:00",
                "last_notification": "2015-09-23 05:48:25",
                "next_notification": "2015-09-23 06:48:25",
                "no_more_notifications": "0",
                "acknowledgement_type": "0",
                "current_notification_number": "2",
                "process_performance_data": "1",
                "obsess_over_service": "1",
                "event_handler_enabled": "1",
                "modified_service_attributes": "0",
                "event_handler": "",
                "check_command": "check_xi_domain_v2!test123!-w 4!-c 6",
                "normal_check_interval": "1440",
                "retry_check_interval": "1",
                "check_timeperiod_id": "128",
                "icon_image": "",
                "icon_image_alt": "",
                "has_been_checked": "1",
                "current_check_attempt": "5",
                "max_check_attempts": "5",
                "last_check": "2015-09-23 05:48:25",
                "next_check": "2015-09-24 05:48:25",
                "state_type": "1",
                "notifications_enabled": "1",
                "problem_acknowledged": "0",
                "flap_detection_enabled": "1",
                "is_flapping": "0",
                "percent_state_change": "6.12",
                "latency": "0",
                "execution_time": "0.51",
                "scheduled_downtime_depth": "0",
                "passive_checks_enabled": "1",
                "active_checks_enabled": "1"
            }
        ]
    }
}