Hi Scott,
It looks like, for some reason, it looks like I cannot use any other states other than "time2connect" which is the only one that is working. If I try to add "--datasize" or "--transpec", that is when it will give me an error.
Regards
Search found 4 matches
- Wed May 28, 2014 9:13 am
- Forum: Nagios XI
- Topic: Nagios Plugin check_mssql_database.py
- Replies: 16
- Views: 7207
- Wed May 28, 2014 8:52 am
- Forum: Nagios XI
- Topic: Nagios Plugin check_mssql_database.py
- Replies: 16
- Views: 7207
Re: Nagios Plugin check_mssql_database.py
Hi Scott, Thank you for the information. I got it to work, but not how I thought I would. It works if I do not declare "transpec". It works if I enter this: ./check_mssql_database.py -H 1.1.1.1 -U admin -P password -T database_name -p 1433 -w 10 -c 20 I get a response: OK: Time to connect ...
- Mon May 26, 2014 8:27 am
- Forum: Nagios XI
- Topic: Nagios Plugin check_mssql_database.py
- Replies: 16
- Views: 7207
Re: Nagios Plugin check_mssql_database.py
Thank you for the response. The user account does have access to the master database. I am not trying to query the master database, I am trying to query another instance. I did try to query the master database and I received the same error mentioned.
- Thu May 22, 2014 1:07 pm
- Forum: Nagios XI
- Topic: Nagios Plugin check_mssql_database.py
- Replies: 16
- Views: 7207
Nagios Plugin check_mssql_database.py
Hi All, I am trying to set up nagios to monitor our databases. Every time I run the following command i get an error: ./check_mssql_database.py -H ipaddress -U user -P password -T database --transpec -w 30 -c 20 <type 'exceptions.TypeError'> Caught unexpected error. This could be caused by your sysp...