Search found 114 matches

by andrewatmacys
Fri Sep 13, 2019 12:18 pm
Forum: Nagios XI
Topic: Get status of one host's services via API 5.4.9
Replies: 2
Views: 416

Re: Get status of one host's services via API 5.4.9

Never mind, I got it! Turns out Postman isn't getting the json, but I can get it if I just go to it in browser.
by andrewatmacys
Fri Sep 13, 2019 10:18 am
Forum: Nagios XI
Topic: Get status of one host's services via API 5.4.9
Replies: 2
Views: 416

Get status of one host's services via API 5.4.9

I know this is possible with later versions, but does the 5.4.9 API support getting a single hosts service statuses? If not, is there a way to get this information out of the database?
by andrewatmacys
Fri May 10, 2019 12:34 pm
Forum: Nagios XI
Topic: 500 error when accessing Nagios API
Replies: 2
Views: 448

Re: 500 error when accessing Nagios API

I should note that when searching individually for hosts it works but not for all hosts.
by andrewatmacys
Fri May 10, 2019 12:13 pm
Forum: Nagios XI
Topic: 500 error when accessing Nagios API
Replies: 2
Views: 448

500 error when accessing Nagios API

Version of Nagios is 5.4.13 on RHEL 7

When attempting to get host status, I'm getting a 500 error from the Nagios API:
nagios API2_LI.jpg
nagiosAPI.png
It was working not very long ago, a few days ago to my knowledge, so I'm not sure what might be causing a 500 internal server error.
by andrewatmacys
Fri Mar 15, 2019 1:46 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

Sorry, I meant to say I was able to log in using your command

mysql -u root -pnagiosxi.

Does that change anything?
by andrewatmacys
Fri Mar 15, 2019 12:26 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

Unfortunately I got an error Unknown option: -x, possibly not available on 5.4.0?

Anyway, I will upload support1.txt and support2.txt
by andrewatmacys
Thu Mar 14, 2019 3:19 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

I just PM'd the install.log. I'll run that command as well. On running the command I got an access denied for user root@localhost. I'll post the full error here: [root@mdc2vrs7867f0 nagiosxi]# mysqladmin --user=root password "nagiosxi" mysqladmin: connect to server at 'localhost' failed er...
by andrewatmacys
Thu Mar 14, 2019 2:57 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

It was going well, until it didn't! haha

It did a lot of stuff, but then I got hit with this:

The script that failed was: './D-chkconfigalldaemons'
by andrewatmacys
Thu Mar 14, 2019 2:51 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

Looks like mariadb is running now, can you clarify what you mean with the MySQL below the start mariadb command? Sorry.

Also, after cleaning and updating the repos I still have exclamations.

However, the install is proceeding, so that fixed that problem!
by andrewatmacys
Thu Mar 14, 2019 12:18 pm
Forum: Nagios XI
Topic: The script that failed was ./3-dbservers
Replies: 19
Views: 2347

Re: The script that failed was ./3-dbservers

sestatus returns disabled. The server is running RHEL 7.6.

I am attaching the outputs of the other commands, deleting and reinstalling did not work.

This was a fresh install of version 5.4.0, so there should be nothing else inhibiting the install from previous versions.