Search found 43 matches
- Thu Aug 21, 2014 2:18 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10188
Re: "Cannot find file" error on host
The script takes a file on the local Nagios box, puts it on our FTP server via a login and folder setup just for this, and then gets the same file it just put on the server. There's some other logic in the script that writes a date and time to the file, and then at the end checks to make sure the da...
- Thu Aug 21, 2014 12:49 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10188
Re: "Cannot find file" error on host
So I figured out the problem. The file that the scripts pulls back via FTP is owned by root and everyone else has crap for permissions. For some reason chmod is not working though. The file is located in the root directory, and when I try
nothing at all changes.
Code: Select all
chmod 777 /ftptest
- Wed Aug 20, 2014 7:57 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10188
Re: "Cannot find file" error on host
What do you mean exactly? When I tested it via the terminal I had full root access.
- Wed Aug 20, 2014 7:06 pm
- Forum: Open Source Nagios Projects
- Topic: "Cannot find file" error on host
- Replies: 22
- Views: 10188
"Cannot find file" error on host
So I wrote a perl script that connects to an FTP server, uploads a file, downloads the same file, and checks it for previously written stuff. The whole idea is to make sure people can upload and download. When I tested it via the terminal, I got the correct outputs for OK and CRITICAL, depending on ...
- Fri Aug 15, 2014 11:40 am
- Forum: Open Source Nagios Projects
- Topic: Have I somehow misconfigured notifications?
- Replies: 9
- Views: 5008
Re: Have I somehow misconfigured notifications?
Jeez guys.. I have absolutely no idea how that comment marker got there. That was definitely the problem!
Thank you for all the help!
Thank you for all the help!
- Tue Aug 12, 2014 3:13 pm
- Forum: Open Source Nagios Projects
- Topic: Have I somehow misconfigured notifications?
- Replies: 9
- Views: 5008
Re: Have I somehow misconfigured notifications?
I did change the decimal back to an int, and it hasn't made a difference. It's just weird, I can see service notifications that happen early in the morning/overnight, but nothing comes through for host up/down.
- Tue Aug 05, 2014 1:43 pm
- Forum: Open Source Nagios Projects
- Topic: Have I somehow misconfigured notifications?
- Replies: 9
- Views: 5008
Re: Have I somehow misconfigured notifications?
Alright, the notify host command is as follows: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$##\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress...
- Mon Aug 04, 2014 8:09 pm
- Forum: Open Source Nagios Projects
- Topic: Have I somehow misconfigured notifications?
- Replies: 9
- Views: 5008
Re: Have I somehow misconfigured notifications?
Okay so I still use the original template files as a way to manage things at a single point. So here is my template file for my Windows Hosts: # Windows host definition template - This is NOT a real host, just a template! define host{ name windows-server ; The name of this host template use generic-...
- Mon Aug 04, 2014 2:36 pm
- Forum: Open Source Nagios Projects
- Topic: Have I somehow misconfigured notifications?
- Replies: 9
- Views: 5008
Have I somehow misconfigured notifications?
First of all, I want to thank you guys for being so helpful. Every question I've had has been answered or responded to. I recently tweaked my notification settings in order to make notifications for critical events send out faster. I feel like I may have messed up something though, because I no long...
- Fri Aug 01, 2014 4:52 pm
- Forum: Open Source Nagios Projects
- Topic: Need some help configuring a specific plugin
- Replies: 19
- Views: 6657
Re: Need some help configuring a specific plugin
Sorry for the really lame question, but where exactly do I run that command from?
Thank you
Thank you