I get the following error when trying to save a service
Error: Service check command 'check_smb_file.pl !-H uhcvisappcprafs.umhs.med.umich.edu -U umhs/scopemonitor -P **** -f apollo_Prod/Data/DMHltImp.LOG --property size -c 1024MB!!!!!!!' specified in service 'CVIS: Delmar Holter LOG greater than 1GB--please run maintenance' for host 'uhcvisappcprafs.umhs.med.umich.edu' not defined anywhere!
host 'uhcvisappcprafs.umhs.med.umich.edu' not defined anywhe
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Do you have a command in Configure > Core Config Manager > Commands with a Command Name of check_smb_file.pl !-H XXXXXXX -U XXXXX -P **** -f apollo_Prod/Data/DMHltImp.LOG --property size -c 1024MB!!!!!!!? If so, change the command name to check_smb_file and put that stuff in the Command Line section.
If that's not it, please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten from the DB)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and PM me the resulting /tmp/NAGIOSBADFILES.zip file:
Then apply configuration so it fails (which will revert the backend files back to the last known good as usual which is what we want because of the steps above).
Then PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
If that's not it, please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten from the DB)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and PM me the resulting /tmp/NAGIOSBADFILES.zip file:
Code: Select all
zip -r /tmp/NAGIOSBADFILES.zip /usr/local/nagios/etcThen PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Sent you the files.
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Missed a step will resend files
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Removing the .pl from the end fixed it thanks.
you can close the tickets
you can close the tickets
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Do not close do not get the error. the work when I run them from ccm but not when I look at them from the dashboard the show in error. I will resend the files
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
What does the Status Information column show for the failing checks?
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
I figured it out the slashes where going the wronh way you can close the post
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: host 'uhcvisappcprafs.umhs.med.umich.edu' not defined an
Great!btayl wrote:I figured it out the slashes where going the wronh way you can close the post
Locking thread