sshikov / jsendnsca

Automatically exported from code.google.com/p/jsendnsca
0 stars 0 forks source link

JSendNsca not workng #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
my name is Marco Amato and I'm an italian Java Software Developer. 

I was developping a batch application that should be monitored with nagios.
During the development and I found your work truly interesting and I hoped I 
can use it for my work.

I installed on a virtual machine an Ubuntu Desktop 12.04 (I had iso on my hd) 
and then I installed successfully nagios 3.2.3 and nsca 2.7.2. As you reported 
in your documentation I had to install previously Nagios and Nsca to test 
jsendnsca.

Then I configured Nagios with a passive check service as in your documentation 
(I attached Nagios Configuration file). The goal was sending a passive check 
from machine host (Windows 7 Ultimate Edition) to guest virtual host where is 
installed Nagios. 

Both systems are visible because they belogn to same subnet and I can access 
the Nagios main panel within the host too.

However the problem is simple: when I run the code with no errors but I don't 
see any changes to my Nagios Control Panel.

You have any suggests?
Maybe a config problem?.

Regards
Marco

Original issue reported on code.google.com by iscrizio...@gmail.com on 28 Jan 2014 at 11:51

Attachments:

GoogleCodeExporter commented 9 years ago
Test application on localhost with same result. I don't see any changes.

Original comment by iscrizio...@gmail.com on 28 Jan 2014 at 12:17

GoogleCodeExporter commented 9 years ago
Hi Marco

Can you send me a snippet of the code so I can check against your config

Also, can you try and run send_nsca to confirm you can see messages with that

(http://manpages.ubuntu.com/manpages/hardy/man1/send_nsca.1.html)

Thanks

Raj

Original comment by rajneeshpatel on 29 Jan 2014 at 9:36

GoogleCodeExporter commented 9 years ago
Hello Raj,

I apologize for my late response and I would say thank you for your response. 
My problem was a nagios bad configuration. 

In my local nagios installation I had a lot of configuration file:
- localhost_nagios2.cfg
- service_nagios2.cfg

I configured passive_service in localhost file but configuring the same service 
in service file, it worked!!!

Thank you so much for your support
marco

Original comment by iscrizio...@gmail.com on 7 Feb 2014 at 4:41

GoogleCodeExporter commented 9 years ago
Thanks for the update and glad you've made progress

If you have any further questions or issues, update this ticket

Thanks

Raj

Original comment by rajneeshpatel on 8 Feb 2014 at 12:25

GoogleCodeExporter commented 9 years ago
Thank you so much Raj. Can I ask you why this issue is still getting "Invalid"?

Original comment by iscrizio...@gmail.com on 9 Feb 2014 at 6:01

GoogleCodeExporter commented 9 years ago
Marked as invalid as no issue found in jsendnsca itself

Thanks

Raj

Original comment by rajneeshpatel on 11 Feb 2014 at 7:04