Search found 10 matches

by lingpanda
Thu Oct 16, 2014 12:25 pm
Forum: Open Source Nagios Projects
Topic: How To Setup NSClient For Passive Checks
Replies: 4
Views: 4559

Re: How To Setup NSClient For Passive Checks

Thanks for the replies. My current nsclinet.ini file consists of default values from initial install. # If you want to fill this file with all avalible options run the following command: # nscp settings --generate --add-defaults --load-all # If you want to activate a module and bring in all its opti...
by lingpanda
Mon Oct 13, 2014 9:29 am
Forum: Open Source Nagios Projects
Topic: How To Setup NSClient For Passive Checks
Replies: 4
Views: 4559

How To Setup NSClient For Passive Checks

Hello, I currently have Nagios 4.0.8 setup to perform active checks against Windows hosts with NSClient 0.4.1 installed. This works fine. I have also installed NSCA and am able to send a test command by following this guide http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup...
by lingpanda
Fri Oct 10, 2014 8:30 am
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Re: Check_Printer Assistance Defining Command

To be honest with you, your best bet would be to either use a better documented plugin or contact the developer. Having said that, the following commands seemed to work for me: ./check_printer 192.168.x.x public 1 toner 1 0.6 0.5 OK - Black Cartridge HP CC530A 72% (3875517 of 5308928 left) | toner=...
by lingpanda
Tue Oct 07, 2014 6:11 pm
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Re: Check_Printer Assistance Defining Command

slansing wrote:Where did you get this plugin from? Can you provide a link? That usage output is very convoluted.
Downloaded from the following link

http://exchange.nagios.org/directory/Pl ... es/details
by lingpanda
Mon Oct 06, 2014 7:56 pm
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Re: Check_Printer Assistance Defining Command

If it has alert threshold options, you should find them in the help context: ./check_printer --help Unfortunately for me the help context is in German. This is the Google translate version. - > Counter num Are from different counters of the printer. Counter 2 - num are Ricoh specific. Counter 1 is ...
by lingpanda
Mon Oct 06, 2014 12:01 pm
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Re: Check_Printer Assistance Defining Command

So you would want your command defined like: define command { command_name check_printer command_line /usr/lib/nagios/plugins/check_printer $ARG1$ $ARG2$ $ARG3$ $ARG4$ } and your service like: define service{ use generic-service host_name Office-Printer service_description Printer Alert Status chec...
by lingpanda
Mon Oct 06, 2014 11:47 am
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Re: Check_Printer Assistance Defining Command

tmcdonald wrote:What's the exact command you run from the CLI, as well as the output from that command?
CLI command

Code: Select all

/usr/lib/nagios/plugins/check_printer 172.16.232.23 public 1 alerts
Result

Code: Select all

OK - ( 4 6 5 1 0 503)
Thanks.
by lingpanda
Sat Oct 04, 2014 2:04 pm
Forum: Open Source Nagios Projects
Topic: Check_Printer Assistance Defining Command
Replies: 11
Views: 7145

Check_Printer Assistance Defining Command

Hello, I'm able to manually call the plugin and receive results(ie check_printer 192.168.1.1 public 1 alerts). I do not know know how to properly define the command in commands.cfg. define command{ command_name check_printer command_line /usr/lib/nagios/plugins/check_printer The plugin help is in Ge...
by lingpanda
Wed Oct 01, 2014 3:02 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.8 Unauthorized Login / New User
Replies: 3
Views: 4343

Re: Nagios Core 4.0.8 Unauthorized Login / New User

1) Have you added that use to cgi.cfg (if you are trying to access a restricted cgi)? 2) Check the htpass file for the user: cat /usr/local/nagios/etc/htpasswd.users Sometimes things can be so simple! Ran cat and new user was not in file. Strange. Ran again and verified user was created and was abl...
by lingpanda
Wed Oct 01, 2014 11:29 am
Forum: Open Source Nagios Projects
Topic: Nagios Core 4.0.8 Unauthorized Login / New User
Replies: 3
Views: 4343

Nagios Core 4.0.8 Unauthorized Login / New User

Hello, Installed Nagios from source on Ubuntu 14.04.1 LTS per the following link http://wellsie.net/p/512/ I can successfully log into the CGI with nagiosadmin. I created a new user via htpasswd /usr/local/nagios/etc/htpasswd.users newuser This user is unable to login to the CGI. Receive invalid use...