Search found 15 matches

by td3201
Wed Feb 18, 2015 3:49 pm
Forum: Open Source Nagios Projects
Topic: problem with parents and service dependencies
Replies: 10
Views: 8241

Re: problem with parents and service dependencies

When the parent service goes down, nagios continues to check and notify about child services: define service{ use generic-service,24x7,infrastructure,check3 hostgroups windows service_description service-nscp check_command check-nrpe-win-service!$HOSTADDRESS$!nscp servicegroups nscp } define service...
by td3201
Tue Feb 17, 2015 9:10 pm
Forum: Open Source Nagios Projects
Topic: check_smb_file - alerting if files are found
Replies: 6
Views: 3428

Re: check_smb_file - alerting if files are found

Oh, that's a good perspective. I leaned toward check_smb_file because I am checking a windows cluster drive. I can still hit the underlying cluster IP with NSClient++ though. Good tip!
by td3201
Tue Feb 17, 2015 7:07 pm
Forum: Open Source Nagios Projects
Topic: check_smb_file - alerting if files are found
Replies: 6
Views: 3428

Re: check_smb_file - alerting if files are found

Box293 wrote:What is the SMB host? A windows box?
Yes, it's all windows.

Thanks for the tip on the negate wrapper. Will look into that.
by td3201
Tue Feb 17, 2015 2:52 pm
Forum: Open Source Nagios Projects
Topic: check_smb_file - alerting if files are found
Replies: 6
Views: 3428

check_smb_file - alerting if files are found

I'm trying to alert if files ending in .pgp2 exist in this location. However, all I can figure out how to do is alert when files do NOT exist:
/usr/lib/nagios/plugins/check_smb_file -H 10.20.33.129 -f '/narf' -F '.*\.pgp2'

Can anyone think of how to do this?

Thanks!
by td3201
Tue Feb 17, 2015 2:39 pm
Forum: Open Source Nagios Projects
Topic: problem with parents and service dependencies
Replies: 10
Views: 8241

Re: problem with parents and service dependencies

I'm still curious on the parents directive for services. It's not working as expected on 4.0.8.
by td3201
Mon Feb 16, 2015 11:40 am
Forum: Open Source Nagios Projects
Topic: problem with parents and service dependencies
Replies: 10
Views: 8241

Re: problem with parents and service dependencies

Here's the working config: define servicedependency{ hostgroup_name z-allhosts service_description service-nscp dependent_service_description services-all-auto execution_failure_criteria n notification_failure_criteria w,u,c } define hostgroup { hostgroup_name z-allhosts members .* }
by td3201
Sun Feb 15, 2015 9:07 pm
Forum: Open Source Nagios Projects
Topic: problem with parents and service dependencies
Replies: 10
Views: 8241

Re: problem with parents and service dependencies

What version of Nagios Core are you using? Sorry, should have put this in my original post. 4.0.8 As far as getting service dependencies to work, I think I know how to do it. To get around explicitly putting every host in there, I can create a hostgroup and glob in all the hosts, then put this host...
by td3201
Sun Feb 15, 2015 12:33 pm
Forum: Open Source Nagios Projects
Topic: problem with parents and service dependencies
Replies: 10
Views: 8241

problem with parents and service dependencies

I was trying to get the parents directive to work for services but figured out that this bug still exists since April of 2014? http://tracker.nagios.org/view.php?id=562 Since that appears to be the case, I am trying a service dependency instead. I simply want to ensure that any services that depend ...
by td3201
Thu Jan 29, 2015 12:50 am
Forum: Open Source Nagios Projects
Topic: nsclient++ check_always_ok syntax
Replies: 16
Views: 4689

Re: nsclient++ check_always_ok syntax

0.4.1 is a lot better.
by td3201
Wed Jan 28, 2015 9:50 am
Forum: Open Source Nagios Projects
Topic: nsclient++ check_always_ok syntax
Replies: 16
Views: 4689

Re: nsclient++ check_always_ok syntax

Thanks for looking into this. Interesting that the version is flagged as stable when it clearly has issues.