Search found 4 matches
- Mon Apr 08, 2019 1:56 pm
- Forum: Open Source Nagios Projects
- Topic: Custom Plugin fails with "Service Check Timed Out"
- Replies: 7
- Views: 3010
Re: Custom Plugin fails with "Service Check Timed Out"
Oh wow. That would certainly do it, now it works perfectly. Thank you!
- Mon Apr 08, 2019 12:19 pm
- Forum: Open Source Nagios Projects
- Topic: Custom Plugin fails with "Service Check Timed Out"
- Replies: 7
- Views: 3010
Re: Custom Plugin fails with "Service Check Timed Out"
The nagios user appears to be able to run the plugin from command line. nagios@hostname:~$ /usr/lib/nagios/plugins/check_appshot error_tracking WARNING - "invalid first argument" nagios@hostname:~$ time /usr/lib/nagios/plugins/check_appshot error_tracking WARNING - "invalid first argu...
- Mon Apr 08, 2019 9:25 am
- Forum: Open Source Nagios Projects
- Topic: Custom Plugin fails with "Service Check Timed Out"
- Replies: 7
- Views: 3010
Re: Custom Plugin fails with "Service Check Timed Out"
Thank you for your reply. WARNING - "invalid first argument" is the expected output. The plugin below opens a shiny app, waits 20 seconds for loading, then triggers an error and writes that error to a file. The plugin then reads that file, echos the error message, and exits with the specif...
- Fri Apr 05, 2019 10:23 am
- Forum: Open Source Nagios Projects
- Topic: Custom Plugin fails with "Service Check Timed Out"
- Replies: 7
- Views: 3010
Custom Plugin fails with "Service Check Timed Out"
A custom plugin I've written for nagios core is failing with status Critical - (Service Check Timed Out). The plugin loads a shiny app and reports any errors it finds on the page. It runs and returns the appropriate exit code ("1" in the example below) in ~23 seconds when run as the nagios...