2012 Beta bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

2012 Beta bug

Post by arnab.roy »

Capacity Report is not detecting the rrds created by the switch wizard, so my switch shows up as having no perfdata!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 2012 Beta bug

Post by mguthrie »

Confirmed. We'll add it to the fix list and see what's going on. Thanks for the heads up!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 2012 Beta bug

Post by mguthrie »

Ok, I was wrong, I had deleted the rrds on those missing ports a long time ago ;)

Can you send me a service description of a missing port and we'll check to make sure it's not an encoding or special character issue?
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: 2012 Beta bug

Post by arnab.roy »

Hi Mike,

I think somewhere permissions have got messed up on the plugins.

Down
Warning: This plugin must be either run as root or setuid root.
To run as root, you can use a tool like sudo.
To set the setuid permissions, use the command:
chmod u+s yourpluginfile
check_icmp: Failed to obtain ICMP socket: Operation not permitted

Cheers
Arnab
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: 2012 Beta bug

Post by lmiltchev »

Can you post the permissions of the plugins direcotry?

Code: Select all

ll /usr/local/nagios/libexec/
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: 2012 Beta bug

Post by arnab.roy »

[nagios@karma-dev nagios]$ ll /usr/local/nagios/libexec/ | more
total 6848
-rwxr-xr-x. 1 nagios nagios 348433 Jul 23 17:33 check_apt
-rwxr-xr-x. 1 nagios nagios 6897 Jul 23 17:34 check_asterisk.pl
-rwxr-xr-x 1 nagios nagios 4173 Sep 20 20:52 check_bl
-rwxr-xr-x 1 nagios nagios 2289 Sep 20 20:52 check_bpi.php
-rwxr-xr-x. 1 nagios nagios 2274 Jul 23 17:33 check_breeze
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_clamd -> check_tcp
-rwxr-xr-x. 1 nagios nagios 50873 Jul 23 17:33 check_cluster
-r-xr-xr-x. 1 nagios nagios 90337 Jul 23 17:33 check_dhcp
-rwxr-xr-x. 1 nagios nagios 87773 Jul 23 17:33 check_dig
-rwxr-xr-x. 1 nagios nagios 390546 Jul 23 17:33 check_disk
-rwxr-xr-x. 1 nagios nagios 8163 Jul 23 17:33 check_disk_smb
-rwxr-xr-x. 1 nagios nagios 96206 Jul 23 17:33 check_dns
-rwxr-xr-x. 1 nagios nagios 46260 Jul 23 17:33 check_dummy
-rwxr-xr-x 1 nagios nagios 5625 Sep 20 20:52 check_em01.pl
-rwxr-xr-x 1 nagios nagios 38345 Sep 20 20:52 check_email_delivery
-rwxr-xr-x 1 nagios nagios 20511 Sep 20 20:52 check_email_delivery_epn
-rwxr-xr-x. 1 nagios nagios 20039 Jul 23 17:34 check_email_loop.pl
-rwxr-xr-x 1 nagios nagios 82841 Sep 20 20:52 check_esx3.pl
-rwxr-xr-x. 1 nagios nagios 3143 Jul 23 17:33 check_file_age
-rwxr-xr-x. 1 nagios nagios 6395 Jul 23 17:33 check_flexlm
-rwxr-xr-x. 1 nagios nagios 92048 Jul 23 17:33 check_fping
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_ftp -> check_tcp
-rwxr-xr-x 1 nagios nagios 3437 Sep 20 20:52 check_ftp_fully
-rwxr-xr-x 1 nagios nagios 14787 Sep 18 20:02 check_hp
-rwxr-xr-x. 1 nagios nagios 90056 Jul 23 17:33 check_hpjd
-rwxr-xr-x. 1 nagios nagios 468776 Jul 23 17:33 check_http
-rwxrwxrwx. 1 nagios nagios 97773 Jul 23 17:33 check_icmp
-rwxr-xr-x. 1 nagios nagios 59316 Jul 23 17:33 check_ide_smart
-rwxr-xr-x. 1 nagios nagios 15310 Jul 23 17:33 check_ifoperstatus
-rwxr-xr-x. 1 nagios nagios 12853 Jul 23 17:33 check_ifstatus
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_imap -> check_tcp
-rwxr-xr-x 1 nagios nagios 35413 Sep 20 20:52 check_imap_receive
-rwxr-xr-x 1 nagios nagios 15576 Sep 20 20:52 check_imap_receive_epn
-rwxr-xr-x. 1 nagios nagios 7429 Jul 23 17:33 check_ircd
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_jabber -> check_tcp
-rwxr-xr-x. 1 nagios nagios 73626 Jul 23 17:33 check_ldap
lrwxrwxrwx. 1 root root 10 Jul 23 17:33 check_ldaps -> check_ldap
-rwxr-xr-x. 1 nagios nagios 73506 Jul 23 17:33 check_load
-rwxr-xr-x. 1 nagios nagios 6062 Jul 23 17:33 check_log
-rwxr-xr-x. 1 nagios nagios 20367 Jul 23 17:33 check_mailq
-rwxr-xr-x. 1 nagios nagios 59970 Jul 23 17:33 check_mrtg
-rwxr-xr-x. 1 nagios nagios 58835 Jul 23 17:33 check_mrtgtraf
-rwxr-xr-x. 1 nagios nagios 12537 Sep 20 20:52 check_mssql
-rwxr-xr-x 1 nagios nagios 13759 Sep 20 20:52 check_mssql_database.py
-rwxr-xr-x 1 nagios nagios 20336 Sep 20 20:52 check_mssql_server.py
-rwxr-xr-x. 1 nagios nagios 94383 Jul 23 17:33 check_mysql
-rwxr-xr-x. 1 nagios nagios 98711 Jul 23 17:34 check_mysql_health
-rwxr-xr-x. 1 nagios nagios 86413 Jul 23 17:33 check_mysql_query
-rwxr-xr-x. 1 nagios nagios 72447 Jul 23 17:33 check_nagios
-rwxr-xr-x 1 nagios nagios 6364 Sep 20 20:52 check_nagios_performance.php
-rwxr-xr-x 1 nagios nagios 17400 Sep 20 20:52 check_nagiosxiserver.php
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_nntp -> check_tcp
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_nntps -> check_tcp
-rwxrwxr-x. 1 nagios nagios 75444 Jul 23 17:34 check_nrpe
-rwxr-xr-x. 1 nagios nagios 93815 Jul 23 17:33 check_nt
-rwxr-xr-x. 1 nagios nagios 96835 Jul 23 17:33 check_ntp
-rwxr-xr-x. 1 nagios nagios 87051 Jul 23 17:33 check_ntp_peer
-rwxr-xr-x. 1 nagios nagios 83829 Jul 23 17:33 check_ntp_time
-rwxr-xr-x. 1 nagios nagios 125710 Jul 23 17:33 check_nwstat
-rwxr-xr-x. 1 nagios nagios 8366 Jul 23 17:33 check_oracle
-rwxr-xr-x. 1 nagios nagios 75739 Jul 23 17:33 check_overcr
-rwxr-xr-x. 1 nagios nagios 69350 Jul 23 17:33 check_pgsql
-rwxr-xr-x. 1 nagios nagios 99658 Jul 23 17:33 check_ping
-rwxr-xr-x. 1 nagios nagios 6183 Jul 23 17:34 check_pnp_rrds.pl
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_pop -> check_tcp
-rwxr-xr-x. 1 nagios nagios 281655 Sep 20 20:52 check_postgres.pl
-rwxr-xr-x. 1 nagios nagios 368712 Jul 23 17:33 check_procs
-rwxr-xr-x 1 nagios nagios 23327 Sep 20 20:52 check_radius_adv
-rwxr-xr-x. 1 nagios nagios 71134 Jul 23 17:33 check_real
-rwxr-xr-x. 1 nagios nagios 9707 Jul 23 17:33 check_rpc
-rwxr-xr-x. 1 nagios nagios 9232 Jul 23 17:34 check_rrdtraf
-rwxr-xr-x. 1 nagios nagios 5299 Jul 23 17:34 check_rrdtraf.php
-rwxr-xr-x. 1 nagios nagios 1176 Jul 23 17:33 check_sensors
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_simap -> check_tcp
-rwxr-xr-x. 1 nagios nagios 7599 Jul 23 17:34 check_sip
-rwxr-xr-x. 1 nagios nagios 406354 Jul 23 17:33 check_smtp
-rwxr-xr-x 1 nagios nagios 20226 Sep 20 20:52 check_smtp_send
-rwxr-xr-x 1 nagios nagios 10440 Sep 20 20:52 check_smtp_send_epn
-rwxr-xr-x. 1 nagios nagios 408607 Jul 23 17:33 check_snmp
-rwxr-xr-x. 1 nagios nagios 10951 Jul 23 17:34 check_snmp_boostedge.pl
-rwxr-xr-x. 1 nagios nagios 17866 Jul 23 17:34 check_snmp_cpfw.pl
-rwxr-xr-x. 1 nagios nagios 8747 Jul 23 17:34 check_snmp_css_main.pl
-rwxr-xr-x. 1 nagios nagios 16786 Jul 23 17:34 check_snmp_css.pl
-rwxr-xr-x. 1 nagios nagios 33562 Jul 23 17:34 check_snmp_env.pl
-rwxr-xr-x 1 nagios nagios 23464 Sep 20 20:52 check_snmp_generic.pl
-rwxr-xr-x. 1 nagios nagios 31919 Jul 23 17:34 check_snmp_int.pl
-rwxr-xr-x. 1 nagios nagios 10108 Jul 23 17:34 check_snmp_linkproof_nhr.pl
-rwxr-xr-x. 1 nagios nagios 22839 Sep 20 20:52 check_snmp_load.pl
-rwxr-xr-x 1 nagios nagios 22845 Sep 20 20:52 check_snmp_load_wizard.pl
-rwxr-xr-x. 1 nagios nagios 18734 Jul 23 17:34 check_snmp_mem.pl
-rwxr-xr-x. 1 nagios nagios 11898 Jul 23 17:34 check_snmp_nsbox.pl
-rwxr-xr-x. 1 nagios nagios 26182 Sep 20 20:52 check_snmp_process.pl
-rwxr-xr-x 1 nagios nagios 26183 Sep 20 20:52 check_snmp_process_wizard.pl
-rwxr-xr-x. 1 nagios nagios 25483 Sep 20 20:52 check_snmp_storage.pl
-rwxr-xr-x 1 nagios nagios 25484 Sep 20 20:52 check_snmp_storage_wizard.pl
-rwxr-xr-x. 1 nagios nagios 14489 Jul 23 17:34 check_snmp_vrrp.pl
-rwxr-xr-x. 1 nagios nagios 12058 Sep 20 20:52 check_snmp_win.pl
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_spop -> check_tcp
-rwxr-xr-x. 1 nagios nagios 69094 Jul 23 17:33 check_ssh
-rwxr-xr-x 1 nagios nagios 8337 Sep 20 20:52 check_ssh_expect.pl
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_ssmtp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 74796 Jul 23 17:33 check_swap
-rwxr-xr-x. 1 nagios nagios 123180 Jul 23 17:33 check_tcp
-rwxr-xr-x. 1 nagios nagios 71240 Jul 23 17:33 check_time
lrwxrwxrwx. 1 root root 9 Jul 23 17:33 check_udp -> check_tcp
-rwxr-xr-x. 1 nagios nagios 84166 Jul 23 17:33 check_ups
-rwxr-xr-x. 1 nagios nagios 68835 Jul 23 17:33 check_users
-rwxr-xr-x. 1 nagios nagios 3019 Jul 23 17:33 check_wave
-rwxr-xr-x. 1 nagios nagios 307 Jul 23 17:34 check_webinject.sh
-rwxr-xr-x 1 nagios nagios 7065 Sep 20 20:52 check_win_snmp_disk.pl
-rwxr-xr-x 1 nagios nagios 2405 Sep 20 20:52 check_wmi_plus.conf
-rwxr-xr-x 1 nagios nagios 46543 Sep 20 20:52 check_wmi_plus.ini
-rwxr-xr-x 1 nagios nagios 237155 Sep 20 20:52 check_wmi_plus.pl
-rwxr-xr-x. 1 nagios nagios 75011 Jul 23 17:33 negate
-rwxr-xr-x. 1 nagios nagios 42724 Jul 23 17:34 process_perfdata.pl
-rwxr-xr-x. 1 nagios nagios 64618 Jul 23 17:34 send_nsca
-rwxr-xr-x. 1 nagios nagios 68266 Jul 23 17:33 urlize
-rwxr-xr-x. 1 nagios nagios 2035 Jul 23 17:33 utils.pm
-rwxr-xr-x. 1 nagios nagios 862 Jul 23 17:33 utils.sh
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: 2012 Beta bug

Post by arnab.roy »

I am also seeing after making the interface plugin executable the report shows up as rrd contained Nan's / corrupt.....The graph shows up fine on the normal performance graphs view....

Let me highlight this system was upgraded from 2011
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: 2012 Beta bug

Post by scottwilkerson »

lets run

Code: Select all

chmod u+s /usr/local/nagios/libexec/check_icmp /usr/local/nagios/libexec/check_dhcp
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: 2012 Beta bug

Post by arnab.roy »

Lol...already done it long time back...didnt help..weird eh!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: 2012 Beta bug

Post by mguthrie »

Bear with me on having you retry something, but the 's' flag for setuid root wasn't actually on the file listing that you showed us for check_icmp, or check_dhcp. Is there something that is maybe resetting those permissions?