Search found 8 matches

by mykie
Mon Jun 25, 2012 10:50 am
Forum: Open Source Nagios Projects
Topic: Init Script
Replies: 5
Views: 1653

Re: Init Script

Ahh! your right its in the config file! will update the config file to match the init script

sorry about that :roll:
by mykie
Mon Jun 25, 2012 10:04 am
Forum: Open Source Nagios Projects
Topic: Init Script
Replies: 5
Views: 1653

Re: Init Script

yeah it not a problem with that file, its the /var/run/nagios.pid i'm having a problem with the stop routine in the init script uses this file to extract the PID and then runs a kill against this ID. However the start routine touch's this file but doesn't actually drop a pid in there. So this will a...
by mykie
Mon Jun 25, 2012 8:10 am
Forum: Open Source Nagios Projects
Topic: There doesn't appear to be any service status information in
Replies: 2
Views: 4346

Re: There doesn't appear to be any service status informatio

didnt get a reponse so the work around i came up was edit the init script /etc/init.d/nagios and added this line `pgrep -of nagios.cfg > $NagiosRunFile` in the start sub routine at line 137 just after $NagiosBin -d $NagiosCfgFile **Edit** Juist had my post updated and my issue resolved, rather than ...
by mykie
Mon Jun 25, 2012 7:24 am
Forum: Open Source Nagios Projects
Topic: There doesn't appear to be any service status information in
Replies: 2
Views: 4346

Re: There doesn't appear to be any service status informatio

I'm experiencing the same problem, the init script isn't putting the PID into /var/run/nagios.pid so nagios cant check its status and its also why the stop script doesnt work as no PID is being passed to it

Will be hacking my init script shortly if i dont get a hand.. will post up when done
by mykie
Mon Jun 25, 2012 7:00 am
Forum: Open Source Nagios Projects
Topic: Init Script
Replies: 5
Views: 1653

Init Script

Hey has anyone else come across the problem with the init script? I just built the package from the source code but with the init script it doesnt seem to be grabbing the pid for nagios when starting so is unable to stop the process when requested. This has proven to be a problem with puppet as it r...
by mykie
Mon Oct 03, 2011 4:52 am
Forum: Nagios XI
Topic: Nagios Demo
Replies: 3
Views: 2513

Re: Nagios Demo

ahh thanks for the info :)
by mykie
Thu Sep 29, 2011 11:59 am
Forum: Open Source Nagios Projects
Topic: Spec File
Replies: 0
Views: 1229

Spec File

No doubt this has been bought up before but im struggling to find a thread Can anyone help me sort out the spec file for building a nagios rpm I've changed the obvious this like the incorrect name and chaging the root directory but its still failing to build do /usr/bin/install -c -m 664 $file /var/...
by mykie
Thu Sep 29, 2011 10:49 am
Forum: Nagios XI
Topic: Nagios Demo
Replies: 3
Views: 2513

Nagios Demo

Why is the online nagios demo running 3.2* rather than 3.3.1?

Was looking to upgrade but not been reading great reports and if nagios them selves aren't running it should I wait a while?