Page 12 of 13

Re: Nagios XI 5 Open Beta - Download Available

Posted: Fri Sep 25, 2015 10:40 am
by jolson
The data format that you're referring to is called JSON. As for getting that data into excel, you might find a tool like the following helpful:
http://konklone.io/json/

Thanks! ;)

Re: Nagios XI 5 Open Beta - Download Available

Posted: Fri Sep 25, 2015 11:37 am
by koldrid
Where is the link? I am not seeing it to download. We want to test the LDAP integration to see if this is what we have been waiting for.

Re: Nagios XI 5 Open Beta - Download Available

Posted: Fri Sep 25, 2015 11:52 am
by tmcdonald
We've closed the beta as we are not making any more changes to the code base at this point. Rest assured, the public release is not at all far away.

Re: Nagios XI 5 Open Beta - Download Available

Posted: Fri Sep 25, 2015 4:41 pm
by eloyd
ARGH!!! I haven't even downloaded the damned thing yet.

Re: Nagios XI 5 Open Beta - Download Available

Posted: Mon Sep 28, 2015 7:58 am
by karthek
Auto discovery job detects the windows workstation machines as windows server.

Actual machine: windows 7
Shown in xi : Windows server 2008

What is the baseline for detecting the os? Does it run any command on remote machine?

Re: Nagios XI 5 Open Beta - Download Available

Posted: Mon Sep 28, 2015 8:59 am
by jomann
BanditBBS wrote:Quick question...using the new API to list all users in XI....what type of format is that? I did the get users and it's showing me the list, but that's not XML for easy importing into Excel, what is it? Will the backend component continue to be included for the foreseeable future?
Yes, the old backend API is available and will remain available. The new API will allow XML output also as an option once some things get added into it.

Re: Nagios XI 5 Open Beta - Download Available

Posted: Mon Sep 28, 2015 9:00 am
by jomann
karthek wrote:Auto discovery job detects the windows workstation machines as windows server.

Actual machine: windows 7
Shown in xi : Windows server 2008

What is the baseline for detecting the os? Does it run any command on remote machine?
It does not run a command to check the OS it is purely a guess based on what nmap can scan.

Re: Nagios XI 5 Open Beta - Download Available

Posted: Tue Sep 29, 2015 12:42 am
by karthek
A quote from nmap official website https://nmap.org/book/osdetect.html
Fortunately, Nmap includes a huge database of heuristics for identifying thousands of different systems based on how they respond to a selection of TCP/IP probes. Another system (part of version detection) interrogates open TCP or UDP ports to determine device type and OS details. Results of these two systems are reported independently so that you can identify combinations such as a Checkpoint firewall forwarding port 80 to a Windows IIS server.
This means the detection is not 100% accurate. Right?

Re: Nagios XI 5 Open Beta - Download Available

Posted: Tue Sep 29, 2015 3:52 am
by karthek
Unable to create or delete user using the given api's. Has anyone tried before?

Code: Select all

[root@localhost/]# curl -XPOST "http://localhost/nagiosxi/api/v1/system/user?apikey=edp553lb&pretty=1&username=jmcdouglas&password=testuser&name=Jordan%20McDouglas&email=jmcdouglas@localhost&enabled=1"
null
[root@localhost/]# curl -XDELETE "http://localhost/nagiosxi/api/v1/system/user?apikey=edp553lb&pretty=1&user_id=56"
    SQL:     SQL Error [nagiosxi] :</b> ERROR:  invalid input syntax for integer: "NULL"
LINE 1: SELECT * FROM xi_users WHERE user_id='NULL'
                                             ^"User with ID  does not exist."
any suggestions/ideas?

Re: Nagios XI 5 Open Beta - Download Available

Posted: Wed Sep 30, 2015 7:41 am
by WillemDH
Just noticed a typo in the help section for the new REST api:
nagiosadmin¬ification_interval and al=5¬ificatio
curl -XPOST "http://nagios01/nagiosxi/api/v1/config/ ... z&pretty=1" -d "host_name=testapihostapply&address=127.0.0.1&max_check_attempts=2&check_period=24x7&contacts=nagiosadmin¬ification_interval=5¬ification_period=24x7&applyconfig=1"