Search found 9 matches
- Fri Feb 27, 2015 2:34 pm
- Forum: Open Source Nagios Projects
- Topic: Using user Macros
- Replies: 2
- Views: 1438
Re: Using user Macros
That makes sense, otherwise things could be injected. I can easily write a find/replace script to update all of the host config files as needed. That might be a better way than using User macros. None of the passwords/community strings (read only) I use for the monitoring are very high security ones...
- Thu Feb 26, 2015 7:50 pm
- Forum: Open Source Nagios Projects
- Topic: Using user Macros
- Replies: 2
- Views: 1438
Using user Macros
Hi again! I am trying to use macros to store information in host definitions that then get used by a service definition. So far I have this working. My next step is to then uses a few user macros to store the sensitive data such as community string or passwords used by the hosts. So I am trying to u...
- Wed Feb 25, 2015 7:20 pm
- Forum: Open Source Nagios Projects
- Topic: Question about service variables/macros
- Replies: 6
- Views: 3348
Re: Question about service variables/macros
I re-entered it in the config files and now it's working. I must have had some kind of white-space something that I just could not see. Thank you again so much!
- Tue Feb 24, 2015 6:16 pm
- Forum: Open Source Nagios Projects
- Topic: Question about service variables/macros
- Replies: 6
- Views: 3348
Re: Question about service variables/macros
Thank you again for your time. I am confused about one thing and it may be why I am having trouble. In your example, the macro in the service check_command is "$_HOSTFOO$", while the variable in the host is "_COMMUNITY". I don't understand how it knows to replace $_HOSTFOO$ with ...
- Tue Feb 24, 2015 5:03 pm
- Forum: Open Source Nagios Projects
- Topic: Question about service variables/macros
- Replies: 6
- Views: 3348
Re: Question about service variables/macros
Thank you jdalrymple. That is exactly what I am looking for. However I am not sure how to get the host customer variable into a macro for the service. For example: define host { host_name test.hostname.com alias Test Switch 1 display_name test.hostname.com address 127.0.0.1 parents Main_switch use r...
- Tue Feb 24, 2015 1:26 pm
- Forum: Open Source Nagios Projects
- Topic: Question about service variables/macros
- Replies: 6
- Views: 3348
Question about service variables/macros
Hello all, newbie here. I am trying to use Nagios CORE to monitor OSPF and BGP in order to detect failures in redundant fiber and wireless links (which can't be detected by pinging). I have written some scripts to do this, however there is one issue I am running into. Some of the devices have differ...
- Mon Jan 19, 2015 6:18 pm
- Forum: Open Source Nagios Projects
- Topic: Request Advice on monitoring CPU load
- Replies: 3
- Views: 1180
Re: Request Advice on monitoring CPU load
That's kind of what I was thinking, but worry that my inexperience my come to bite me with things I don't know to look for. So far with the other two values being ignored it hasn't been a problem, but I will still need to test for longer to be sure. Thank you!
- Sun Jan 18, 2015 6:16 pm
- Forum: Open Source Nagios Projects
- Topic: Request Advice on monitoring CPU load
- Replies: 3
- Views: 1180
Request Advice on monitoring CPU load
Hello! I have recently just started using Nagios Core (management won't fund XI, at least not yet) and will probably be asking a lot of advice questions over the next few days. I apologize in advance and make my best attempt to search for answers beforehand. So far it works pretty well, but there ar...
- Mon Dec 23, 2013 5:16 pm
- Forum: Nagios XI
- Topic: Question about Notifications
- Replies: 1
- Views: 528
Question about Notifications
Hello! I am just starting to test out Nagios and had some questions which I have not been able to find on the forums (they may exist, but I have failed to find them) or the FAQ, so I thought I would create a post. My apologies if this is covered. We have some hosts which aside from needing to be mon...