Search found 43 matches
- Tue Nov 18, 2014 12:32 pm
- Forum: Open Source Nagios Projects
- Topic: Weird behavior with clustered drives Nagios was monitoring
- Replies: 6
- Views: 3107
Re: Weird behavior with clustered drives Nagios was monitori
Thank you all for the replies. Unfortunately this did not seem to work for me. I'm still seeing the Unknown error on all the drives on this server.
- Wed Nov 12, 2014 1:28 pm
- Forum: Open Source Nagios Projects
- Topic: Weird behavior with clustered drives Nagios was monitoring
- Replies: 6
- Views: 3107
Re: Weird behavior with clustered drives Nagios was monitori
the host definition for SQLSrv1 define host{ use windows-server host_name SQLSrv1 alias SQLSrv1 address /IP address of SQLSrv1/ statusmap_image server.png } the service definition that uses the command checknt!USEDDISKSPACE This is a selection of the clustered disk monitoring definitions. They all ...
- Tue Nov 11, 2014 9:02 pm
- Forum: Open Source Nagios Projects
- Topic: Weird behavior with clustered drives Nagios was monitoring
- Replies: 6
- Views: 3107
Weird behavior with clustered drives Nagios was monitoring
So I have some weird behavior I need to figure out, and I was hoping someone here may be able to shed some light on the answer. So I have a set of SQL servers that feed our database. These servers use a series of clustered drives. The basic configuration is that we have ClusterSrv1 and ClusterSrv2, ...
- Tue Aug 26, 2014 12:59 pm
- Forum: Open Source Nagios Projects
- Topic: Need some help configuring a specific plugin
- Replies: 19
- Views: 6643
Re: Need some help configuring a specific plugin
It pops up right after I run the command, says the same thing like 3 times, then goes away.
- Mon Aug 25, 2014 6:37 pm
- Forum: Open Source Nagios Projects
- Topic: Need some help configuring a specific plugin
- Replies: 19
- Views: 6643
Re: Need some help configuring a specific plugin
Box293 wrote:Run this on your Windows server from the NSClient directory (in a command window). There is an nscp.exe file in that directory.
Alright so when I run this, a secondary cmd box pops up that says:
Code: Select all
Failed to parse host NAGIOSSERVERNAME. No such host is known.
- Mon Aug 25, 2014 11:21 am
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10127
Re: "Cannot find file" error on host
I'll take a swing since I have an unhealthy relationship with perl... The perl script has a few issues: #!usr/bin/perl Missing leading slash there. Should probably be: #!/usr/bin/perl This would account for the error from the log: execvp(/usr/local/nagios/libexec/ftp.pl, ...) failed. errno is 2: No...
- Fri Aug 22, 2014 5:32 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10127
Re: "Cannot find file" error on host
Not to me, it doesn't. At this point, I think you need to turn on Nagios log file debugging and see what the exact command and output are that show up in the Nagios log. Okay so I enable the debugger with the -1 value and number 2 detail value, and this is what I get for my FTP check: EVENT_HOST_CH...
- Fri Aug 22, 2014 3:56 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10127
Re: "Cannot find file" error on host
I really think you're looking at a problem with trying to drop the file in a place that you don't have privileges to do so. Remember - you're doing your testing as the root user but your script runs as the nagios user. You're assuming where the file will be written, and it's possible that it can't ...
- Fri Aug 22, 2014 3:22 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10127
Re: "Cannot find file" error on host
Do you output a message to standard out in your plugin? (sorry didnt read through it all as I am by no means a perl guy) It seems to me that the error is one of two things: more file permissions issues with the ftp script. (not likely as you can run it via su - nagios) the plugin does not output to...
- Thu Aug 21, 2014 5:30 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10127
Re: "Cannot find file" error on host
It's possible I did it wrong initially, because I was able to get it to work now. So the only thing I'm having a problem with is for some reason when I run my script as the Nagios user, I don't see any changes to the files (part of the script writes the current date and time to the file, then later ...