Search found 9 matches

by ray.holtz
Tue Sep 19, 2017 3:03 pm
Forum: Open Source Nagios Projects
Topic: No Nagios4 Package for Ubuntu?
Replies: 5
Views: 4990

Re: No Nagios4 Package for Ubuntu?

wow sheen.lim! Thats great, I'll come back and follow that when I do the upgrade.

And thanks for the info about the packages tmcdonald & mcapra!
by ray.holtz
Fri Sep 15, 2017 4:06 pm
Forum: Open Source Nagios Projects
Topic: No Nagios4 Package for Ubuntu?
Replies: 5
Views: 4990

No Nagios4 Package for Ubuntu?

Maybe I should be hitting up an Ubuntu forum, but why is there no package for Nagios 4.x in Ubuntu? The latest 17.04 still installs Nagios 3.5.1 (over 3 years old now) from apt-get. Are there issues upgrading that are impossible to script? Does Ubuntu not care? I'd like to just apt-get upgrade to ge...
by ray.holtz
Tue Sep 12, 2017 3:28 pm
Forum: Open Source Nagios Projects
Topic: NRPE check_disk performance data is wrong.
Replies: 5
Views: 4370

Re: NRPE check_disk performance data is wrong.

At first it only worked on the local server, but not on the Nagios server... then I restarted NRPE on the local server and it works great now! Thanks Scott!
by ray.holtz
Tue Sep 12, 2017 10:41 am
Forum: Open Source Nagios Projects
Topic: NRPE check_disk performance data is wrong.
Replies: 5
Views: 4370

Re: NRPE check_disk performance data is wrong.

Thanks Scott, that was it partially, the nagios user doesn't have permissions to see that. I'm trying to figure out where/how to give it permissions, but it's not working out right for me. I put the nagios user in the www-data group, and gave that group rights to the /var/log/apache2 directory recur...
by ray.holtz
Mon Sep 11, 2017 2:23 pm
Forum: Open Source Nagios Projects
Topic: NRPE check_disk performance data is wrong.
Replies: 5
Views: 4370

NRPE check_disk performance data is wrong.

when I run check_disk on the Ubuntu 16.04 being monitored (apt-get fully up to date), I receive: user@server:/var/log/apache2/sites$ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/vgpool--logs-lv--logs DISK OK - free space: /var/log/apache2/sites 21691 MB (99% inode=99%);| /var/log/...
by ray.holtz
Wed Aug 31, 2016 10:54 am
Forum: Open Source Nagios Projects
Topic: Check if OID exists
Replies: 7
Views: 4250

Re: Check if OID exists

Thanks a lot @rkennedy.

That negate command works great!
by ray.holtz
Wed Aug 31, 2016 8:16 am
Forum: Open Source Nagios Projects
Topic: Check if OID exists
Replies: 7
Views: 4250

Re: Check if OID exists

Thanks, that might help. But how do I get that to work in a service check? I have the service defined as: define service{ hosts host servicegroups ALL_DefaultRoutes service_description SRX Default Route contact_groups Network check_command check_snmp!-C community -o .1.3.6.1.4.1.2636.3.38.1.1.1.0.0....
by ray.holtz
Tue Aug 30, 2016 2:28 pm
Forum: Open Source Nagios Projects
Topic: Check if OID exists
Replies: 7
Views: 4250

Re: Check if OID exists

I actually want it to not find the OID. In the case that the default static route on the firewall has changed, I would like to get a critical notification. If it can find the OID, all is good and static route is good and the status should be OK If it can not find the OID, that means the static route...
by ray.holtz
Tue Aug 30, 2016 11:18 am
Forum: Open Source Nagios Projects
Topic: Check if OID exists
Replies: 7
Views: 4250

Check if OID exists

I'd like to do a check on my Juniper SRX firewalls to see what the static route is. I know the OID is .1.3.6.1.4.1.2636.3.38.1.1.1.0.0.0.0.0.0.0.0.0.x.x.x.x (where x.x.x.x is my default route IP). When I run a check_snmp on that OID, it comes back as OK. If I change the IP in the check to simulate t...