OK
I solved it
i was typing in the host groups name wrong apologies for wasting everyone time!
you can delete or mark this thread as solved!
thanks again!
Search found 27 matches
- Wed Oct 02, 2019 5:09 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
- Wed Oct 02, 2019 4:11 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
Re: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
@mahtabalam
i have attached it
thanks
mahtabalam wrote:Can you give me the contents of /etc/nagios/nagios.cfg
or /usr/local/nagios/nagios.cfg
i have attached it
thanks
- Wed Oct 02, 2019 4:10 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
Re: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
scottwilkerson : thanks, i have read through and tried. When I try it, the log just gives this generic error: [1570007290] EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_HOST_DOWNTIME;Windows Servers;1569921625;1569943225;0;0;7200;lciav;Test Comment [1570007290] Error: External command failed -> SCHEDULE_HOS...
- Tue Oct 01, 2019 4:53 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
Re: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
I originally posted the wrong command i was trying to use
SCHEDULE_HOSTGROUP_HOST_DOWNTIME is the one i'm looking to use
regards
SCHEDULE_HOSTGROUP_HOST_DOWNTIME is the one i'm looking to use
regards
- Tue Oct 01, 2019 2:16 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
Re: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
thanks for responding
nagios.cmd is in /usr/local/nagios/var/rw
which prinft output:
/usr/bin/prinft
nagios.cmd is in /usr/local/nagios/var/rw
which prinft output:
/usr/bin/prinft
- Mon Sep 30, 2019 9:51 am
- Forum: Open Source Nagios Projects
- Topic: SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
- Replies: 9
- Views: 2641
SCHEDULE_SERVICEGROUP_HOST_DOWNTIME command not found
Hi all I am currently running core Version 4.0.6 & am trying to regularly set a host group in downtime - hopefully as a cron job. looking through the docs i came across SCHEDULE_SERVICEGROUP_HOST_DOWNTIME which seems to do what i want. except i can't make it do so:lol: If i run this: */usr/local...
- Wed Apr 18, 2018 8:52 am
- Forum: Open Source Nagios Projects
- Topic: cannot run custom command from anywhere but libexec folder
- Replies: 17
- Views: 7421
Re: cannot run custom command from anywhere but libexec fold
well...i fell daft. the problem was simply my eyesight. i had an extra "s" on the end of the check in the command.cfg, Changed it and it works a treat. case closed!
thanks again for your help.
thanks again for your help.
- Sat Apr 14, 2018 3:21 am
- Forum: Open Source Nagios Projects
- Topic: cannot run custom command from anywhere but libexec folder
- Replies: 17
- Views: 7421
Re: cannot run custom command from anywhere but libexec fold
thank you both for your help and patience so far! I did as you said. removed the xml. reran as user nagios. ran successfully. xml file created with nagios as owner. The 127 error still occurs when nagios trys to run it automatically. The error mentions worker3 at the end of it (see original post) so...
- Fri Apr 13, 2018 8:17 am
- Forum: Open Source Nagios Projects
- Topic: cannot run custom command from anywhere but libexec folder
- Replies: 17
- Views: 7421
Re: cannot run custom command from anywhere but libexec fold
ok if I created a custom script and run it returns as follows:
Code: Select all
0
- Fri Apr 13, 2018 8:06 am
- Forum: Open Source Nagios Projects
- Topic: cannot run custom command from anywhere but libexec folder
- Replies: 17
- Views: 7421
Re: cannot run custom command from anywhere but libexec fold
I get a correct response if run as root: Controller Index Alert_Type Message Status Date_Created Object_Name Category Count Acknowledged Date_Cleared Reference_Number ---------- ------ ---------------- --------------------------------------------------------------------------------------------------...