Search found 7 matches

by spaceship
Wed Jul 04, 2012 4:41 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

The command works from the nagios user, if the xserver is not running the plugin will exit 1 with a gtk warning. Though every time the plugin runs it should start a virtual X server.
by spaceship
Mon Jul 02, 2012 4:11 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

I'm not running SELinux.

The plugin does require an X server but I am using Xvfb to provide a virtual X session.
by spaceship
Thu Jun 28, 2012 9:52 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

My logs just tell me that nagios has sigtermed [1340893308] Caught SIGTERM, shutting down... [1340893308] Successfully shutdown... (PID=9475) [1340893308] npcdmod: If you don't like me, I will go out! Bye. [1340893308] Event broker module '/usr/local/pnp4nagios/lib/npcdmod.o' deinitialized successfu...
by spaceship
Thu Jun 28, 2012 9:32 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

I don't use the embedded perl interpreter I have never had much joy with it, so I neither compile it in or have it in the config file.
by spaceship
Thu Jun 28, 2012 3:58 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

I suspect the plugin because if I change my command.cfg to point at check_dummy instead of my plugin no SIGTERM's happen. Though I am interested in any other reasons why nagios would randomly SIGTERM as this could be a coincidence. I've attached my code, it does require that gtk3 and lot of perl mod...
by spaceship
Wed Jun 27, 2012 9:43 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Re: Random SIGTERM......

It's mine, but it's not the first plugin I've written.
by spaceship
Wed Jun 27, 2012 9:30 am
Forum: Open Source Nagios Projects
Topic: Random SIGTERM......
Replies: 12
Views: 3400

Random SIGTERM......

Hi,

My nagios decides to shut down at random time due to a plugin

Caught SIGTERM, shutting down...

If I take out the plugin in question it works fine but I am puzzled about how a plugin would cause nagios to SIGTERM.

Thanks

Tim