Search found 10 matches
- Thu Nov 05, 2015 11:55 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
Everything looks ok. We have around 300 servers. Perhaps it got something to do with that ? Availability reports and UI looks ok. The service status and text get updated correctly. It is just that the output of the nagios log does not reflect the alert/notification. Anyhow, I think I will push for a...
- Wed Nov 04, 2015 11:15 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
do grep on tst2
which was the string I've sent.
I am running a production system which will take some time to upgrade therefore I am trying to figure out if possible to make it work on 3.5.0
which was the string I've sent.
I am running a production system which will take some time to upgrade therefore I am trying to figure out if possible to make it work on 3.5.0
- Wed Nov 04, 2015 1:14 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
Yes, I do get the following:
[1446616754] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;myhost;tst2;2;helloworld\n
[1446616755] PASSIVE SERVICE CHECK: myhost;tst2;2;helloworld
But no SERVICE ALERT or NOTIFICATION
Attached the log file, the service name I am checking is "tst2"
[1446616754] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;myhost;tst2;2;helloworld\n
[1446616755] PASSIVE SERVICE CHECK: myhost;tst2;2;helloworld
But no SERVICE ALERT or NOTIFICATION
Attached the log file, the service name I am checking is "tst2"
- Tue Nov 03, 2015 1:03 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
Nagios Core version: 3.5.0 Here is my full nagios.cfg file: accept_passive_host_checks=1 accept_passive_service_checks=1 additional_freshness_latency=15 admin_email=nagios@localhost admin_pager=pagenagios@localhost auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 b...
- Mon Nov 02, 2015 2:25 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
It has already. Here is how it is defined: templates.cfg: define service{ name passive-service active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 notifications_enabled 1 event_handler_enabled 1 register 0 is_volatile 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 fla...
- Mon Nov 02, 2015 1:51 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
It is on already.
- Mon Nov 02, 2015 1:45 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
Re: SERVICE ALERT shows in nagios log sporadically
Nope, did not help. Same problem.
- Mon Nov 02, 2015 1:39 am
- Forum: Open Source Nagios Projects
- Topic: Sending arbitrary alarm in a push mode to Nagios possible ?
- Replies: 3
- Views: 1160
Re: Sending arbitrary alarm in a push mode to Nagios possibl
Thanks for your prompt answer ! Yes, the reason for me not to want to define a service for each check is complexity. For example, I want to add 5 new alarms to my new system (let's say R&D wise). Then, I have to coordinate with our DevOps team that a new alarm (in this case a new service) came o...
- Sat Oct 31, 2015 6:24 am
- Forum: Open Source Nagios Projects
- Topic: SERVICE ALERT shows in nagios log sporadically
- Replies: 15
- Views: 7997
SERVICE ALERT shows in nagios log sporadically
I am using a command line to push events to a passive Nagios service, for example: echo "['date +%s'] PROCESS_SERVICE_CHECK_RESULT;myhost;mytstsvc;2;This is an error" > /usr/local/nagios/var/rw/nagios.cmd When I'm doing that, the status is always updated in Nagios UI and I can see the reas...
- Sat Oct 31, 2015 2:54 am
- Forum: Open Source Nagios Projects
- Topic: Sending arbitrary alarm in a push mode to Nagios possible ?
- Replies: 3
- Views: 1160
Sending arbitrary alarm in a push mode to Nagios possible ?
Hi. I'm new to Nagios. From what I have seen Nagios works in a pulling mode, once in a while goes to a service, checks for it and sets a status accordingly (ok,criticical etc ...). Is there a more simple way to push random alarms to Nagios without the need to define complex scripts/various services ...