Cheshire Cat Computing

Software support and information
It is currently Sat May 27, 2017 8:55 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Nov 01, 2011 5:09 am 
Offline
User

Joined: Wed Jan 16, 2008 6:39 am
Posts: 4
Location: Manchester, CT USA
Hello,

I am trying to write a perl script to use as a nagios plugin. The purpose of the script is to read and report the errors per second on a given interface. I can run the script from the command line just fine but when Nagios attempts to execute this script it reports "return code of 255 is out of bounds". One thing I did notice is that the tmp file isn't being created/updated. But right now I am stumped and am hoping someone here can provide some insight.


-Chris Noyes


Attachments:
check_cisco_errors.pl [5.55 KiB]
Downloaded 766 times

_________________
-CN
Top
 Profile Send private message  
 
PostPosted: Thu Nov 03, 2011 1:11 am 
Offline
User

Joined: Wed Jan 16, 2008 6:39 am
Posts: 4
Location: Manchester, CT USA
Well, it was a stupid oversight on my part; permissions problem (with /var/tmp). I changed the directory (and a few other mistakes I found) and it appears to be working now.


Attachments:
check_cisco_errors.pl [5.65 KiB]
Downloaded 785 times

_________________
-CN
Top
 Profile Send private message  
 
PostPosted: Wed Dec 28, 2011 12:15 am 
Offline
User

Joined: Tue Dec 27, 2011 11:57 pm
Posts: 1
hi cnoyes! first, forgive my english :)

hope you still remember how it solved as this thread was created last Nov. I run into the same problem now. What directory should I set it to?


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group