Search found 2580 matches

by jdalrymple
Thu Nov 12, 2015 4:05 pm
Forum: Open Source Nagios Projects
Topic: How monitoring python program output values in nagios?
Replies: 5
Views: 5111

Re: How monitoring python program output values in nagios?

Since this script only exits on error it won't work being called by NRPE. This is factual - the way your script is written is incompatible with active nagios checks. It's imperative that a plugin exits for nagios to function. https://nagios-plugins.org/doc/guidelines.html#AEN78 Incidentally, writin...
by jdalrymple
Thu Nov 12, 2015 4:02 pm
Forum: Open Source Nagios Projects
Topic: Check_NRPE returns version, but cannot remote execute
Replies: 10
Views: 5733

Re: Check_NRPE returns version, but cannot remote execute

RyanW wrote:[root@agile-db-u2 init.d]# nrpe -c /etc/nagios/nrpe.cfg -d
There is your difference most likely. Try launching as user nagios and see if you get the same results.
by jdalrymple
Thu Nov 12, 2015 3:59 pm
Forum: Open Source Nagios Projects
Topic: levels of access
Replies: 1
Views: 1658

Re: levels of access

I'm not 100% clear on the question. If you want a contact to view hosts but not the services on that host simply make them a contact for the host, but not for the services. Likewise if you want a contact to view only services, but not the host for those services make them a contact for only the serv...
by jdalrymple
Thu Nov 12, 2015 3:52 pm
Forum: Nagios XI
Topic: Nagios Log Archive Maintenance
Replies: 1
Views: 852

Re: Nagios Log Archive Maintenance

No nagios options.

Code: Select all

find /usr/local/nagios/var/archives -mtime +365  -exec rm {} \;
in cron should do fine for you. Adjust 365 as you see fit.
by jdalrymple
Thu Nov 12, 2015 2:53 pm
Forum: Nagios XI
Topic: Nagios XI Problems
Replies: 15
Views: 3518

Re: Nagios XI Problems

1) Now the VM's that I added from the vSphere Host got a Service Input/Output Issue (Unknown Error). It is normal? Of course not - it's expected to work when you have things set up properly. Did you follow the instructions and get the VMware perl SDK installed? After that did you then use the wizar...
by jdalrymple
Thu Nov 12, 2015 2:47 pm
Forum: Nagios XI
Topic: Nagios XI Problems
Replies: 15
Views: 3518

Re: Nagios XI Problems

I notice a line break in $ARG2$ - is there perhaps a space between the G and the 2?
by jdalrymple
Thu Nov 12, 2015 2:24 pm
Forum: Nagios Log Server
Topic: Filter events at the source
Replies: 3
Views: 336

Re: Filter events at the source

This depends on the type of source, but almost always the answer is yes. http://serverfault.com/questions/543494/query-specific-logs-from-event-log-using-nxlog http://www.rsyslog.com/sending-messages-to-a-remote-syslog-server/ http://www.ciscopress.com/articles/article.asp?p=426638&seqNum=3 Be a...
by jdalrymple
Thu Nov 12, 2015 2:16 pm
Forum: Open Source Nagios Projects
Topic: $ARGS1$ problem, using command's output as argument
Replies: 7
Views: 5579

Re: $ARGS1$ problem, using command's output as argument

check_command Command_A!Command_B!Command_C While I can't find documentation that expressly forbids this type of check_command syntax - I've never seen it in use and would *NOT* expect it to work. Have you substituted numerical values in for Command_B and Command_C in your check_command? If you hav...
by jdalrymple
Thu Nov 12, 2015 1:27 pm
Forum: Nagios XI
Topic: Server Backups
Replies: 3
Views: 304

Re: Server Backups

Is it safe to assume that nsca.cfg and nrpe.cfg do not change after the client and plugins have been configured You would either change these by hand or through the inbound transfers tool. If you're not fiddling, it's not changing. and that the newest static files are written from the database usin...
by jdalrymple
Thu Nov 12, 2015 11:19 am
Forum: Nagios XI
Topic: Server Backups
Replies: 3
Views: 304

Re: Server Backups

historical data (perfdata specifically) is stored in RRD files local to the XI box. Also External configs such as nsca.cfg, nrpe.cfg, and your etc/static files.

That's it though, if you don't care about those things then there is no amazing need to backup the XI box.