Hi,
I have a host group for MS SQL Servers and against that Host Group I have a numerous service checks.
On of the service checks against these SQL Servers is for disk space on P:
Around 30 of these servers don't have P: setup.
I have excluded most of these by using host_name !SERVERNAME in the service manage variables but noticed there is a limit on 255 characters so is missing some off
I tried manually importing the file using CCM but it doesn't let you import exclusions.
Any way I can change the limit?
Thanks
!host_name 255 Character Limit
-
spurrellian
- Posts: 43
- Joined: Tue Jan 06, 2015 6:26 am
- Location: Bath, UK
!host_name 255 Character Limit
Paul S - Using Nagios XI, Network Analyzer, Log Server
Re: !host_name 255 Character Limit
Can you provide a screen capture here showing the issue you are having?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
spurrellian
- Posts: 43
- Joined: Tue Jan 06, 2015 6:26 am
- Location: Bath, UK
Re: !host_name 255 Character Limit
I'm trying to add the following list of servers to the service check
Once I save and click apply it cuts it down to 255 characters
Once I save and click apply it cuts it down to 255 characters
You do not have the required permissions to view the files attached to this post.
Paul S - Using Nagios XI, Network Analyzer, Log Server
Re: !host_name 255 Character Limit
Make sure you run a full backup of your system before running the following.
If you run the following command on the XI system in a shell, it will increase the size if that field to 510 characters.
Let us know if this works for you.
If you run the following command on the XI system in a shell, it will increase the size if that field to 510 characters.
Code: Select all
echo "use nagiosql;alter table tbl_variabledefinition modify value varchar(510) not null;" | mysql -pnagiosxiBe sure to check out our Knowledgebase for helpful articles and solutions!
-
spurrellian
- Posts: 43
- Joined: Tue Jan 06, 2015 6:26 am
- Location: Bath, UK
Re: !host_name 255 Character Limit
That worked brilliantly
Thank you very much
Thank you very much
Paul S - Using Nagios XI, Network Analyzer, Log Server