Search found 50 matches
- Thu Jun 13, 2019 8:13 am
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
Looks like you are missing a - on each argument ./check_logfiles --logfile=/tmp/testlog --criticalpattern 'FAILURE' Makes no difference: -bash-4.2# ./check_logfiles --logfile=/tmp/testlog --warningpattern 'FAILURE' OK - no errors or warnings|'default_lines'=0 'default_warnings'=0 'default_criticals...
- Thu Jun 13, 2019 7:24 am
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
I get this: -bash-4.2# ./check_logfiles -logfile=/tmp/testlog -criticalpattern 'FAILURE' OK - no errors or warnings|'default_lines'=0 'default_warnings'=0 'default_criticals'=0 'default_unknowns'=0 cat /tmp/testlog PLAY RECAP ********************************************************************* pr7p...
- Thu Jun 13, 2019 1:34 am
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
Herby the plugin
- Thu Jun 13, 2019 1:32 am
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
Sorry, the first item i posted is different from the last one....
This is the one i am working with: https://labs.consol.de/nagios/check_log ... escription
I will upload the plugin.
This is the one i am working with: https://labs.consol.de/nagios/check_log ... escription
I will upload the plugin.
- Wed Jun 12, 2019 1:20 pm
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
But if you know another one.... What i need: to check several directory's, into some logs, checking a keyword like failure.welbp00 wrote:scottwilkerson wrote:Where did you get this plugin?
https://labs.consol.de/nagios/check_log ... escription
That should give a warning
- Wed Jun 12, 2019 1:15 pm
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Re: Need plugin for check on log-file
scottwilkerson wrote:Where did you get this plugin?
https://labs.consol.de/nagios/check_log ... escription
- Wed Jun 12, 2019 4:22 am
- Forum: Open Source Nagios Projects
- Topic: Need plugin for check on log-file
- Replies: 11
- Views: 4370
Need plugin for check on log-file
Hello, I am trying to get a nagios plugin working for searching a word (SUCCESS) in a logfile. I have downloaded the pluging check_log. I don't understand how to get it working. check_logfile v1.0.0 (nagios-plugins 2.0.3) Usage: check_logfile [options] <regexp>[ <regexp>[ <regexp[ ...]]] Options: -f...
- Thu May 16, 2019 8:56 am
- Forum: Open Source Nagios Projects
- Topic: How to config plugin check_newest_file_age
- Replies: 37
- Views: 10200
Re: How to config plugin check_newest_file_age
That's a really long time for a check to process, how long does it take when you run it on the remote system? I worry that you are going to cause serious performance issues on the remote system/drive if it takes that long to process and runs very frequently. That said, to get it to work you likely ...
- Thu May 16, 2019 6:51 am
- Forum: Open Source Nagios Projects
- Topic: How to config plugin check_newest_file_age
- Replies: 37
- Views: 10200
Re: How to config plugin check_newest_file_age
Not really what i wanted.... the directory is different in the dev environment then in the production environment.... Should be an variable... How to fix that? If your command is set as this command[check_dirsize]=sudo -u wasadmin /usr/lib64/nagios/plugins/check_dirsize $ARG1$ You can pass it in an...
- Wed May 15, 2019 10:08 am
- Forum: Open Source Nagios Projects
- Topic: How to config plugin check_newest_file_age
- Replies: 37
- Views: 10200
Re: How to config plugin check_newest_file_age
Changed a few things, now ik works: nrpe.cfg: command[check_dirsize]=sudo -u wasadmin /usr/lib64/nagios/plugins/check_dirsize -d /ConnectionsContentStoreLink/blogs/upload/f/b/c/fbc40af7-f364-4114-bd59-6cdddd04f6d0/BLOGS_UPLOADED_IMAGES -w 2000 -c 2048 -f /etc/sudoers: nrpe ALL=(ALL) NOPASSWD: ALL No...