asuknath / Nagios-Status-JSON

Nagios Status JSON
26 stars 19 forks source link

Push is working but not data #3

Open richilp opened 7 years ago

richilp commented 7 years ago

Hello,

iPhone 6 and ios 10 running the app. Push is ok with the alarms, but I'm never able to get data in hosts, services, etc.

Is the app update and running in ios10? Is something regarding the settings?

Thanks !!! Richi

asuknath commented 7 years ago

Hi Richi,

Yes, it is working with IOS 10.

Are you using valid SSL cert?

Thank You, Asuk Nath

On Jul 19, 2017, at 11:24 AM, richilp notifications@github.com wrote:

Hello,

iPhone 6 and ios 10 running the app. Push is ok with the alarms, but I'm never able to get data in hosts, services, etc.

Is the app update and running in ios10? Is something regarding the settings?

Thanks !!! Richi

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

richilp commented 7 years ago

Hi Asuk,

yes the SSL is valid. I see this line at the beginning of: https://midomain.com/nagios/nath_status.php

Notice: Undefined index: tag in /usr/share/nagios/html/nath_status.php on line 28

Is just a notice, but did it means smth to you?

Thanks !!!

asuknath commented 7 years ago

Which version Nagios and OS?

Thank You, Asuk Nath

On Jul 19, 2017, at 4:35 PM, richilp notifications@github.com wrote:

Hi Asuk,

yes the SSL is valid. I see this line at the beginning of: https://midomain.com/nagios/nath_status.php

Notice: Undefined index: tag in /usr/share/nagios/html/nath_status.php on line 28

Is just a notice, but did it means smth to you?

Thanks !!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

richilp commented 7 years ago

Nagios Version 4.2.4 iOS 10.3.2

Thanks !!!

asuknath commented 7 years ago

Richilp,

Make sure your URL end with /

Please check Step1 - Step3 again. You need to upload API file in your Nagios Server.

https://github.com/asuknath/Nagios-Status-JSON

On Thu, Jul 20, 2017 at 3:03 AM, richilp notifications@github.com wrote:

Nagios Version 4.2.4 iOS 10.3.2

Thanks !!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/asuknath/Nagios-Status-JSON/issues/3#issuecomment-316615482, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdgqUKPbQmzCjqfySbbnY5ZXHx6iDDAks5sPvukgaJpZM4Oc4nY .

asuknath commented 7 years ago

Example:

https://yourdomain.com/nagios/ (Correct) https://yourdomain.com/nagios/cgi-bin/ (Not Correct)

On Sat, Jul 22, 2017 at 11:24 AM, Asuk Nath asukdnath@gmail.com wrote:

Richilp,

Make sure your URL end with /

Please check Step1 - Step3 again. You need to upload API file in your Nagios Server.

https://github.com/asuknath/Nagios-Status-JSON

On Thu, Jul 20, 2017 at 3:03 AM, richilp notifications@github.com wrote:

Nagios Version 4.2.4 iOS 10.3.2

Thanks !!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/asuknath/Nagios-Status-JSON/issues/3#issuecomment-316615482, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdgqUKPbQmzCjqfySbbnY5ZXHx6iDDAks5sPvukgaJpZM4Oc4nY .

richilp commented 7 years ago

Hi Asuk,

yes, everything is ok in the setup. I can access the nath_status.php using https://midomain.com/nagios/nath_status.php. The url in the app is setup correctly as https://midomain.com/nagios/ with / at the end.

Everything looks allright. The only thing I've notice is the Notice at the beginning of the nath_status json:

<br />
<b>Notice</b>:  Undefined index: tag in <b>/usr/share/nagios/html/nath_status.php</b> on line <b>28</b><br />
technofab commented 5 years ago

Same as above on Nagios 4.4.3 on Centos 7. Also your mail support@serveralarms.com not working anymore.