Search found 16 matches

by bmallett
Wed May 01, 2019 7:51 am
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

@cdienger

Correct. That resolved the issue. Thanks a bunch. I verified this this morning first thing.
by bmallett
Fri Apr 26, 2019 3:00 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

I did cut in some "helpful" messages to see where/what was failing. This one says the following:
No MAC Address supplied from HOST.
Image

https://ibb.co/vwVvV0g



SERVICE:
Image

https://ibb.co/kXFrRTs
by bmallett
Fri Apr 26, 2019 2:45 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

The HOST check shows failed but the service shows OK. Here is a host: define host { host_name AD-02-rm02-storage display_name Admin Storage Room AP alias Access Point in Administration Storage address AD-02-rm02-storage parents AD-02-3560-00-102 check_period 24x7 check_command check_mac notification...
by bmallett
Thu Apr 25, 2019 3:13 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

That did work. I switched to that just prior to receiving this notice. However, I am still seeing some odd results. (see dubug) DEBUG: [1556222489.844414] [2048.1] [pid=14359] **** BEGIN MACRO PROCESSING *********** [1556222489.844421] [2048.1] [pid=14359] Processing: '$_HOSTMACADDRESS$' [1556222489...
by bmallett
Thu Apr 25, 2019 1:23 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

Ok, so what I thought was fixed is not. I was getting undesired results and turned on debugging for plugins/macros. My `command` and `service` are as suggested above, but it appears the macro/vars aren't being parsed. Here is the log: 1556215708.123001] [2048.1] [pid=5607] **** BEGIN MACRO PROCESSIN...
by bmallett
Wed Apr 24, 2019 8:05 am
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

@npolovenko

That's what I thought. I was just hoping for something different. I guess I could just make a template above the main "generic" for each "sub-group" and do it at that level. ;)

Thanks again for all your help.
by bmallett
Fri Apr 19, 2019 3:25 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

well... Not in regards to this, but if you want to answer it here, I will oblige... ;) Regarding communication, specifically email notifications, I have been "hit or miss" in getting them configured the easiest way to manage. This may not be the best approach, but I am a firm believer of m...
by bmallett
Fri Apr 19, 2019 3:05 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

PERFECT!

Thanks a ton!
by bmallett
Fri Apr 19, 2019 2:19 pm
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Re: Host shows down but services are ok?

Got that part working now. Thanks. The issue I am having now is making sure I am properly passing the variables from nagios to the plugin. Every single one is returning 'OK' when it shouldn't... :evil: I am currently doing this in the PHP: $mac = ( isset( $argv[1] ) ? $argv[1] : null ); $host = ( is...
by bmallett
Fri Apr 19, 2019 8:45 am
Forum: Open Source Nagios Projects
Topic: Host shows down but services are ok?
Replies: 19
Views: 8165

Host shows down but services are ok?

I have a group of wireless APs that are being assigned IP addresses via DHCP. In order to check these, I wrote a plugin that takes their MAC Address and Parent hostname (as a DNS name), telnets the parent switch, runs 'show arp', parses the arp table to match the line with the MAC Address passed, re...