We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Scheduled jobs/alerts are not running.

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Scheduled jobs/alerts are not running.

Postby NaveenR » Tue Dec 28, 2021 1:30 pm

Hello,

Alerts have stopped running as scheduled. we can trigger them manually it works. I have restarted elasticsearch and logstash services i get below errors in logs. And i have reset all jobs in command subsystem they all are in Waiting stage.


{:timestamp=>"2021-12-27T15:47:40.004000-0500", :message=>"SIGTERM received. Shutting down the agent.", :level=>:warn}
{:timestamp=>"2021-12-27T15:50:23.960000-0500", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::Tcp type=>\"multiline-syslogerr\", port=>5544, codec=><LogStash::Codecs::Multiline pattern=>\"^\\\\s\", negate=>true, what=>\"previous\", charset=>\"UTF-8\", multiline_tag=>\"multiline\", max_lines=>500, max_bytes=>10485760>, host=>\"0.0.0.0\", data_timeout=>-1, mode=>\"server\", proxy_protocol=>false, ssl_enable=>false, ssl_verify=>true, ssl_key_passphrase=><password>>\n Error: Address already in use", :level=>:error}
{:timestamp=>"2021-12-27T15:50:23.960000-0500", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::Tcp type=>\"multiline_SysOutlog\", port=>5544, codec=><LogStash::Codecs::Multiline pattern=>\"^\\\\s\", negate=>true, what=>\"previous\", charset=>\"UTF-8\", multiline_tag=>\"multiline\", max_lines=>500, max_bytes=>10485760>, host=>\"0.0.0.0\", data_timeout=>-1, mode=>\"server\", proxy_protocol=>false, ssl_enable=>false, ssl_verify=>true, ssl_key_passphrase=><password>>\n Error: Address already in use", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.441000-0500", :message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.475000-0500", :message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.481000-0500", :message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.487000-0500", :message=>"Connection refused (Connection refused)", :class=>"Manticore::SocketException", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.524000-0500", :message=>"Pipeline aborted due to error", :exception=>"NoMethodError", :error=>"undefined method `close' for nil:NilClass", :backtrace=>["/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/jls-grok-0.11.4/lib/grok-pure.rb:83:in `add_patterns_from_file'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.5/lib/logstash/filters/grok.rb:372:in `add_patterns_from_files'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.5/lib/logstash/filters/grok.rb:368:in `add_patterns_from_files'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.5/lib/logstash/filters/grok.rb:263:in `register'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.5/lib/logstash/filters/grok.rb:259:in `register'", "org/jruby/RubyHash.java:1342:in `each'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-grok-2.0.5/lib/logstash/filters/grok.rb:255:in `register'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:182:in `start_workers'", "org/jruby/RubyArray.java:1613:in `each'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:182:in `start_workers'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/pipeline.rb:136:in `run'", "/usr/local/nagioslogserver/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.1-java/lib/logstash/agent.rb:491:in `start_pipeline'"], :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.962000-0500", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::Tcp type=>\"multiline-syslogerr\", port=>5544, codec=><LogStash::Codecs::Multiline pattern=>\"^\\\\s\", negate=>true, what=>\"previous\", charset=>\"UTF-8\", multiline_tag=>\"multiline\", max_lines=>500, max_bytes=>10485760>, host=>\"0.0.0.0\", data_timeout=>-1, mode=>\"server\", proxy_protocol=>false, ssl_enable=>false, ssl_verify=>true, ssl_key_passphrase=><password>>\n Error: Address already in use", :level=>:error}
{:timestamp=>"2021-12-27T15:50:24.971000-0500", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::Tcp type=>\"multiline_SysOutlog\", port=>5544, codec=><LogStash::Codecs::Multiline pattern=>\"^\\\\s\", negate=>true, what=>\"previous\", charset=>\"UTF-8\", multiline_tag=>\"multiline\", max_lines=>500, max_bytes=>10485760>, host=>\"0.0.0.0\", data_timeout=>-1, mode=>\"server\", proxy_protocol=>false, ssl_enable=>false, ssl_verify=>true, ssl_key_passphrase=><password>>\n Error: Address already in use", :level=>:error}
Attachments
nagios shot.png
NaveenR
 
Posts: 2
Joined: Thu Jul 15, 2021 12:06 pm

Re: Scheduled jobs/alerts are not running.

Postby NaveenR » Mon Jan 03, 2022 1:46 pm

Nagios user account is expired. We have created new password, it is working now.
NaveenR
 
Posts: 2
Joined: Thu Jul 15, 2021 12:06 pm


Return to Community Support

Who is online

Users browsing this forum: Google [Bot], jfontanoza, kfanselow and 21 guests