Nagios XI to Monitor MS Exchange 2010
Re: Nagios XI to Monitor MS Exchange 2010
Outstanding!!! it's looking all green now. thank you.
As for the 4 commands you posted.... WHere do I type that in?
As for the 4 commands you posted.... WHere do I type that in?
Everybody is somebody else’s weirdo
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI to Monitor MS Exchange 2010
Excellent.
Establish an SSH session to the Nagios XI host to run those commands (copy and paste is recommended).
Establish an SSH session to the Nagios XI host to run those commands (copy and paste is recommended).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI to Monitor MS Exchange 2010
Please let us know how you get along John! Thanks!
Re: Nagios XI to Monitor MS Exchange 2010
I need to figure how to log into mysql.
I know the password, I just cant figure the syntax for loging into it.
WHen I copy and paste the command, it tells me access denied
I know the password, I just cant figure the syntax for loging into it.
WHen I copy and paste the command, it tells me access denied
Everybody is somebody else’s weirdo
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios XI to Monitor MS Exchange 2010
Since those are echo statements, they can be ran from the shell directly, as long as you have not changed the database users, you should be able to paste them right into putty and pass them through.
Re: Nagios XI to Monitor MS Exchange 2010
Ok, I ran the scrips
I didn't see any error messages..... just returned ->
I didn't see any error messages..... just returned ->
Everybody is somebody else’s weirdo
Re: Nagios XI to Monitor MS Exchange 2010
without logging into mysql and try, I get this
when logged in, I get this:
Code: Select all
[root@localhost ~]# echo "use nagios;alter table nagios_servicestatus modify output varchar(65535) not null;alter table nagios_servicestatus modify long_output varchar(65535) not null;alter table nagios_servicestatus modify perfdata varchar(65535) not null;" | mysql -pnagiosxi
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)when logged in, I get this:
Code: Select all
mysql> echo "use nagios;alter table nagios_servicestatus modify output varchar(65535) not null;alter table nagios_servicestatus modify long_output varchar(65535) not null;alter table nagios_servicestatus modify perfdata varchar(65535) not null;" | mysql -pnagiosxi
-> Everybody is somebody else’s weirdo
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI to Monitor MS Exchange 2010
Have you changed the password for mysql?
This command uses the default password nagiosxi
(this is the last part of each command)
Alternatively, if you are logged into mysql, execute the commands like so:
This command uses the default password nagiosxi
Code: Select all
-pnagiosxiAlternatively, if you are logged into mysql, execute the commands like so:
Code: Select all
use nagios;alter table nagios_servicestatus modify output varchar(65535) not null;alter table nagios_servicestatus modify long_output varchar(65535) not null;alter table nagios_servicestatus modify perfdata varchar(65535) not null;
use nagios;alter table nagios_hoststatus modify output varchar(65535) not null;alter table nagios_hoststatus modify long_output varchar(65535) not null;alter table nagios_hoststatus modify perfdata varchar(65535) not null;
use nagios;alter table nagios_servicechecks modify output varchar(65535) not null;alter table nagios_servicechecks modify long_output varchar(65535) not null;alter table nagios_servicechecks modify perfdata varchar(65535) not null;
use nagios;alter table nagios_hostchecks modify output varchar(65535) not null;alter table nagios_hostchecks modify long_output varchar(65535) not null;alter table nagios_hostchecks modify perfdata varchar(65535) not null;As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI to Monitor MS Exchange 2010
ah..... I didn't know the last item was a password.
I changed it to the current password and all 4 appears to have entered fine.
ANd I can see that on the services page, it is displaying more stuff.
Thank you
I changed it to the current password and all 4 appears to have entered fine.
ANd I can see that on the services page, it is displaying more stuff.
Thank you
Everybody is somebody else’s weirdo
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI to Monitor MS Exchange 2010
Awesome, it's great to get to the end of a problem with everything fixed and all questions answered 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.