Search found 21 matches

by pamplifier
Thu Nov 10, 2016 10:20 am
Forum: Open Source Nagios Projects
Topic: Multiple instances of Nagios running, messes w/ web interfac
Replies: 7
Views: 2999

Re: Multiple instances of Nagios running, messes w/ web inte

Upon doing more research in the forums, the people who inquire about multiple instances running are usually told that the latest version of Nagios Core has additional checks in place to prevent it from happening (example here ). Is there a changelog of sorts that points out where these checks were a...
by pamplifier
Wed Nov 09, 2016 6:06 pm
Forum: Open Source Nagios Projects
Topic: Multiple instances of Nagios running, messes w/ web interfac
Replies: 7
Views: 2999

Re: Multiple instances of Nagios running, messes w/ web inte

Monitoring about 5 hosts, and 37 services. The workaround so far is that we restart Nagios, and then all is right in the world (accurate web pages, only one instance running). But given some time, eventually processes start piling up again, and the web interface is wrong again. I can't really update...
by pamplifier
Wed Nov 09, 2016 5:07 pm
Forum: Open Source Nagios Projects
Topic: Multiple instances of Nagios running, messes w/ web interfac
Replies: 7
Views: 2999

Multiple instances of Nagios running, messes w/ web interfac

On a server running SLES11SP4 with Nagios Core 4.0.7, I am seeing multiple instances of Nagios running. I think that it's the cause of some messing with the web interface, causing hosts to blink in and out of view, some services to disappear, etc due perhaps to weird caching happening. Some output t...
by pamplifier
Thu Jan 07, 2016 2:32 pm
Forum: Open Source Nagios Projects
Topic: Has anyone ever made an RPM for their custom plugin?
Replies: 7
Views: 3530

Re: Has anyone ever made an RPM for their custom plugin?

Thanks for the help. I've put the project on the back-burner for now, ended up just detailing the lines to add in a README. I will try @doke's suggestion of installing a separate script to add the lines later :D
by pamplifier
Tue Aug 25, 2015 1:59 pm
Forum: Open Source Nagios Projects
Topic: Has anyone ever made an RPM for their custom plugin?
Replies: 7
Views: 3530

Re: Has anyone ever made an RPM for their custom plugin?

Ah, I figured this fell in with Plugin Development, since it's an RPM for a custom plugin. The base question was basically if anyone here had ever made an RPM for their own custom plugin before. According to my search results, people mostly package their custom plugins in a tarball with a README det...
by pamplifier
Tue Aug 25, 2015 1:48 pm
Forum: Open Source Nagios Projects
Topic: Has anyone ever made an RPM for their custom plugin?
Replies: 7
Views: 3530

Has anyone ever made an RPM for their custom plugin?

I'm building an RPM to install my plugin into the Nagios plugin directory (i.e. /libexec) and also append the appropriate lines into commands.cfg and localhost.cfg to 'activate' it. So far, it works great for the former, but not the latter. What I have so far is a script in %post that essentially do...
by pamplifier
Fri Aug 14, 2015 1:25 pm
Forum: Open Source Nagios Projects
Topic: Using real hostname vs "on-Nagios" hostname
Replies: 4
Views: 2017

Re: Using real hostname vs "on-Nagios" hostname

Yes, the original question has been answered so this can close. Hopefully I can find the answer to that secondary question somewhere though, haha.
by pamplifier
Fri Aug 14, 2015 11:03 am
Forum: Open Source Nagios Projects
Topic: Using real hostname vs "on-Nagios" hostname
Replies: 4
Views: 2017

Re: Using real hostname vs "on-Nagios" hostname

This got me on the right track, though it was slightly off. This is what works: `hostname` So this /usr/bin/printf "%b" "***** Nagios *****\n\nSending host is `hostname`\n\nNotification Type: $NOTIFICATIONTYPE$\n returned what I was looking for. I would've never thought of trying the ...
by pamplifier
Wed Aug 12, 2015 4:48 pm
Forum: Open Source Nagios Projects
Topic: Using real hostname vs "on-Nagios" hostname
Replies: 4
Views: 2017

Using real hostname vs "on-Nagios" hostname

Sorry if this is a dumb question, but does anyone know how I can reference a server's "real" hostname rather than what is defined on the Nagios host definition? Lets say I have multiple machines defining themselves as "localhost" in their own hosts.cfg in their own Nagios directo...