Search found 29 matches
- Tue Nov 04, 2014 4:37 pm
- Forum: Open Source Nagios Projects
- Topic: glob service_perfdata_file
- Replies: 9
- Views: 1598
Re: glob service_perfdata_file
Ok. Thanks for the help!
- Mon Nov 03, 2014 6:13 pm
- Forum: Open Source Nagios Projects
- Topic: glob service_perfdata_file
- Replies: 9
- Views: 1598
Re: glob service_perfdata_file
we're not running any processing on it - we just specify the filename (service_perfdata_file) and template. I'm trying to rotate the files without additional scripts (service_perfdata_file_processing_command) or use logrotate.
- Mon Nov 03, 2014 6:00 pm
- Forum: Open Source Nagios Projects
- Topic: glob service_perfdata_file
- Replies: 9
- Views: 1598
Re: glob service_perfdata_file
This is just for opensource core 4.x nagios - perfdata logs just grow continuously.
- Mon Nov 03, 2014 3:59 pm
- Forum: Open Source Nagios Projects
- Topic: glob service_perfdata_file
- Replies: 9
- Views: 1598
Re: glob service_perfdata_file
It just writes to the literal file: /nagios/var/service_perfdata.log.$TIMET$ - looks like it isn't expanding it properly.. any ideas?
- Mon Nov 03, 2014 2:12 pm
- Forum: Open Source Nagios Projects
- Topic: glob service_perfdata_file
- Replies: 9
- Views: 1598
glob service_perfdata_file
Is it possible to glob or otherwise dynamically set the service_perfdata_file? service_perfdata_file=/nagios/var/service_perfdata.log.$TIMET$ I was hoping that would work, or something similar. Any ideas? Background: I have a process which keeps state of where its at in the perfdata.log, and I'm try...
- Fri Jun 27, 2014 11:59 am
- Forum: Open Source Nagios Projects
- Topic: Whats the best way to verify temporary configs?
- Replies: 1
- Views: 441
Whats the best way to verify temporary configs?
Hey guys, I have a process which drops newly generated configs on a nagios box, but I want to verify them before copying them over and restarting. I figured copying them to /tmp/configs/$date/nagios.cfg then running nagios -v /tmp/configs/$date/nagios.cfg would do the trick.. but that doesn't work -...
- Fri Dec 06, 2013 3:12 pm
- Forum: Open Source Nagios Projects
- Topic: Is there a line length limitation for custom object vars?
- Replies: 6
- Views: 2313
Re: Is there a line length limitation for custom object vars
Thanks a bunch, I appreciate it!
- Fri Dec 06, 2013 11:36 am
- Forum: Open Source Nagios Projects
- Topic: Is there a line length limitation for custom object vars?
- Replies: 6
- Views: 2313
Re: Is there a line length limitation for custom object vars
I just wanted to make sure what I'm trying to do won't hit a limitation.abrist wrote:I can ask one of our core devs tomorrow. Have you noticed truncation, or does it just fail?
- Thu Dec 05, 2013 2:47 pm
- Forum: Open Source Nagios Projects
- Topic: Is there a line length limitation for custom object vars?
- Replies: 6
- Views: 2313
Re: Is there a line length limitation for custom object vars
No, it would look like this (except much, much longer). My previous example was not very good. define service { use template host_name hostname _service_fields -m oid=.1.3.6.1... -a 10.1.1.1 -c mycommunity something=yes description=some_desc hostname=myhostname field=value field=value field=value fi...
- Thu Dec 05, 2013 2:14 pm
- Forum: Open Source Nagios Projects
- Topic: Is there a line length limitation for custom object vars?
- Replies: 6
- Views: 2313
Is there a line length limitation for custom object vars?
Hey guys, is there a line length limitation for custom macros in nagios XI and nagios core? i.e: define service { use template host_name hostname _interface_description intdesc register 1 } For example if _interface_description was a combination of 100 keyword=value pairs. Thanks!