pidof: invalid options on command line!
Re: pidof: invalid options on command line!
everything looks good but the traps are not being recieved in nagios. they are getting to my nagios box just fine.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: pidof: invalid options on command line!
OK, so when you say they are coming in just fine, you have run a tcpdump or similar like below?
tcpdump -i eth0 -vvv port 162 - it might take a bit but you should see
ps aux | grep snmp
ll /var/spool/snmptt
As for the other commands not working, you might need to separate out the various folders per command, although it seemed to work fine for me... odd
tcpdump -i eth0 -vvv port 162 - it might take a bit but you should see
ps aux | grep snmp
ll /var/spool/snmptt
As for the other commands not working, you might need to separate out the various folders per command, although it seemed to work fine for me... odd
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: pidof: invalid options on command line!
I hate to do this..
Before you read another word, I gotta head out. I'll have snmp nightmares tonight, in which Ill be chased by oids and snmp commands, and be crackin to go in the am! Thanks team!
Spence just just juuuuuust in case i screwed up the install, can you shoot me the instructions you installed with and the config files your using?
i included the log files as well.
Before you read another word, I gotta head out. I'll have snmp nightmares tonight, in which Ill be chased by oids and snmp commands, and be crackin to go in the am! Thanks team!
Spence just just juuuuuust in case i screwed up the install, can you shoot me the instructions you installed with and the config files your using?
Code: Select all
[root@lkennagiost01 ~]# service snmpd restart
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
[root@lkennagiost01 ~]# service snmptt restart
Stopping snmptt: [ OK ]
Starting snmptt: PID file: /var/run/snmptt.pid
[ OK ]
[root@lkennagiost01 ~]# service snmptrapd restart
Stopping snmptrapd: [ OK ]
Starting snmptrapd: [ OK ]
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# ll /var/spool/snmptt/
total 0
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# ll /etc/snmp/
total 84
-rw-r--r--. 1 root root 18861 Aug 12 10:46 snmpd.conf
-rw-r--r-- 1 root root 68 Sep 23 17:13 snmptrapd.conf
-rw-r--r--. 1 root root 220 Aug 12 10:46 snmptrapd.conf.rpmsave
-rw-r--r-- 1 root root 28531 Sep 4 11:55 snmptt.conf
-rw-rw-r-- 1 apache nagios 26089 Sep 24 16:20 snmptt.ini
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# ll /var/log/snmptt/
total 1148
-rw-r--r-- 1 root root 52312 Sep 24 16:49 snmptt.debug
-rw-r--r-- 1 root root 1077660 Sep 24 16:43 snmptthandler.debug
-rw-rw-r-- 1 snmptt root 268 Sep 24 16:43 snmptt.log
-rw-r--r-- 1 root root 15202 Sep 24 16:49 snmpttsystem.log
-rw-r--r-- 1 root root 8695 Sep 23 14:24 snmpttunknown.log
[root@lkennagiost01 ~]# ll ll /usr/share/snmptt/
ls: cannot access ll: No such file or directory
ls: cannot access /usr/share/snmptt/: No such file or directory
[root@lkennagiost01 ~]# ll ll /usr/share/snmp/
ls: cannot access ll: No such file or directory
/usr/share/snmp/:
total 296
-rwxrwxrwx. 1 root nagios 6678 Aug 12 10:46 mib2c.access_functions.conf
-rwxrwxrwx. 1 root nagios 37814 Aug 12 10:46 mib2c.array-user.conf
-rwxrwxrwx. 1 root nagios 4705 Aug 12 10:46 mib2c.check_values.conf
-rwxrwxrwx. 1 root nagios 2527 Aug 12 10:46 mib2c.check_values_local.conf
-rwxrwxrwx. 1 root nagios 393 Aug 12 10:46 mib2c.column_defines.conf
-rwxrwxrwx. 1 root nagios 664 Aug 12 10:46 mib2c.column_enums.conf
-rwxrwxrwx. 1 root nagios 806 Aug 12 10:46 mib2c.column_storage.conf
-rwxrwxrwx. 1 root nagios 12200 Aug 12 10:46 mib2c.conf
-rwxrwxrwx. 1 root nagios 28245 Aug 12 10:46 mib2c.container.conf
-rwxrwxrwx. 1 root nagios 3593 Aug 12 10:46 mib2c.create-dataset.conf
drwxrwxrwx. 2 root nagios 4096 Sep 22 15:06 mib2c-data
-rwxrwxrwx. 1 root nagios 8164 Aug 12 10:46 mib2c.emulation.conf
-rwxrwxrwx. 1 root nagios 8498 Aug 12 10:46 mib2c.genhtml.conf
-rwxrwxrwx. 1 root nagios 3200 Aug 12 10:46 mib2c.int_watch.conf
-rwxrwxrwx. 1 root nagios 15279 Aug 12 10:46 mib2c.iterate_access.conf
-rwxrwxrwx. 1 root nagios 20913 Aug 12 10:46 mib2c.iterate.conf
-rwxrwxrwx. 1 root nagios 1014 Aug 12 10:46 mib2c.mfd.conf
-rwxrwxrwx. 1 root nagios 2139 Aug 12 10:46 mib2c.notify.conf
-rwxrwxrwx. 1 root nagios 9259 Aug 12 10:46 mib2c.old-api.conf
-rwxrwxrwx. 1 root nagios 8777 Aug 12 10:46 mib2c.perl.conf
-rwxrwxrwx. 1 root nagios 19507 Aug 12 10:46 mib2c.raw-table.conf
-rwxrwxrwx. 1 root nagios 7211 Aug 12 10:46 mib2c.row.conf
-rwxrwxrwx. 1 root nagios 4572 Aug 12 10:46 mib2c.scalar.conf
-rwxrwxrwx. 1 root nagios 20422 Aug 12 10:46 mib2c.table_data.conf
drwxrwxrwx. 3 root nagios 12288 Sep 24 16:20 mibs
drwxrwxrwx. 5 root nagios 4096 Aug 12 10:46 snmpconf-data
-rwxrwxrwx. 1 root nagios 145 Aug 12 10:46 snmp_perl.pl
-rwxrwxrwx. 1 root nagios 431 Aug 12 10:46 snmp_perl_trapd.pl
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# ll ll /usr/share/snmp/mibs/
ls: cannot access ll: No such file or directory
/usr/share/snmp/mibs/:
total 12160
-rwxrwxrwx. 1 root nagios 17455 Aug 12 10:46 AGENTX-MIB.txt
-rwxrwxrwx. 1 root nagios 50948 Aug 12 10:46 BRIDGE-MIB.txt
-rwxrwxrwx 1 root nagios 5698 May 21 2007 cpq54nn.cfg
-rwxrwxrwx 1 root nagios 8815 May 21 2007 cpq54nn.mib
-rwxrwxrwx 1 root nagios 49298 Aug 2 2010 cpqagent.mib
-rwxrwxrwx 1 root nagios 3519 May 21 2007 cpqapli.cfg
-rwxrwxrwx 1 root nagios 8320 Aug 2 2010 cpqapli.mib
-rwxrwxrwx 1 root nagios 45414 May 21 2007 cpqappg80.cfg
-rwxrwxrwx 1 root nagios 52817 May 21 2007 cpqappg80.mib
-rwxrwxrwx 1 root nagios 29984 May 21 2007 cpqclus.cfg
-rw-rw-r-- 1 apache apache 47557 Sep 24 16:01 cpqclus.mib
-rwxrwxrwx 1 root nagios 75103 May 21 2007 cpqcmc.cfg
-rwxrwxrwx 1 root nagios 103759 Aug 2 2010 cpqcmc.mib
-rwxrwxrwx 1 root nagios 49906 May 21 2007 cpqcr.cfg
-rwxrwxrwx 1 root nagios 77693 Aug 2 2010 cpqcr.mib
-rwxrwxrwx 1 root nagios 2540 Aug 13 2009 cpqdceeo.cfg
-rwxrwxrwx 1 root nagios 11594 Aug 2 2010 cpqdceeo.mib
-rwxrwxrwx 1 root nagios 6719 May 21 2007 cpqdmii.cfg
-rwxrwxrwx 1 root nagios 11161 May 21 2007 cpqdmii.mib
-rwxrwxrwx 1 root nagios 7284 Aug 3 2007 cpqdsccs.cfg
-rwxrwxrwx 1 root nagios 16778 Aug 2 2010 cpqdsccs.mib
-rwxrwxrwx 1 root nagios 176657 Jan 21 2013 cpqfca.cfg
-rwxrwxrwx 1 root nagios 245776 Jan 21 2013 cpqfca.mib
-rwxrwxrwx 1 root nagios 73 May 21 2007 cpqfix.cfg
-rwxrwxrwx 1 root nagios 384 May 21 2007 cpqfix.mib
-rwxrwxrwx 1 root nagios 1655 May 21 2007 cpqgen.cfg
-rwxrwxrwx 1 root nagios 3556 May 21 2007 cpqgen.mib
-rwxrwxrwx 1 root nagios 150863 Jan 21 2013 cpqhlth.cfg
-rwxrwxrwx 1 root nagios 221665 Jan 21 2013 cpqhlth.mib
-rwxrwxrwx 1 root nagios 3767 May 21 2007 cpqhostb.cfg
-rwxrwxrwx 1 root nagios 10724 May 21 2007 cpqhostb.mib
-rwxrwxrwx 1 root nagios 60843 Oct 15 2012 cpqhost.cfg
-rwxrwxrwx 1 root nagios 96700 Jan 21 2013 cpqhost.mib
-rwxrwxrwx 1 root nagios 769100 May 21 2007 cpqhsv110v3.cfg
-rwxrwxrwx 1 root nagios 927362 May 21 2007 cpqhsv110v3.mib
-rwxrwxrwx 1 root nagios 6739 May 21 2007 cpqica.cfg
-rwxrwxrwx 1 root nagios 11841 May 21 2007 cpqica.mib
-rwxrwxrwx 1 root nagios 293769 Dec 18 2012 cpqida.cfg
-rwxrwxrwx 1 root nagios 401872 Jan 21 2013 cpqida.mib
-rwxrwxrwx 1 root nagios 41666 Oct 15 2012 cpqide.cfg
-rwxrwxrwx 1 root nagios 65747 Jan 21 2013 cpqide.mib
-rwxrwxrwx 1 root nagios 2661 May 23 2007 cpqidrec.cfg
-rwxrwxrwx 1 root nagios 3091 Aug 2 2010 cpqidrec.mib
-rwxrwxrwx 1 root nagios 74359 May 23 2007 cpqinfo.cfg
-rwxrwxrwx 1 root nagios 137104 May 21 2007 cpqinfo.mib
-rwxrwxrwx 1 root nagios 40695 May 2 2012 cpqiodrv.cfg
-rwxrwxrwx 1 root nagios 63188 Jul 14 2012 cpqiodrv.mib
-rwxrwxrwx 1 root nagios 14045 May 21 2007 cpql2mgt.cfg
-rwxrwxrwx 1 root nagios 19719 Aug 2 2010 cpql2mgt.mib
-rwxrwxrwx 1 root nagios 22593 May 21 2007 cpqlinos.cfg
-rwxrwxrwx 1 root nagios 36108 Aug 2 2010 cpqlinos.mib
-rwxrwxrwx 1 root nagios 42451 May 21 2007 cpqn5226a.cfg
-rwxrwxrwx 1 root nagios 57888 May 21 2007 cpqn5226a.mib
-rwxrwxrwx 1 root nagios 71574 Oct 15 2012 cpqnic.cfg
-rwxrwxrwx 1 root nagios 101079 Jan 21 2013 cpqnic.mib
-rwxrwxrwx 1 root nagios 38274 May 23 2007 cpqnunif.cfg
-rwxrwxrwx 1 root nagios 58818 May 21 2007 cpqnunif.mib
-rwxrwxrwx 1 root nagios 91363 Apr 16 2012 cpqpower.cfg
-rwxrwxrwx 1 root nagios 137239 Jul 14 2012 cpqpower.mib
-rwxrwxrwx 1 root nagios 204420 Dec 18 2012 cpqrack.cfg
-rwxrwxrwx 1 root nagios 261860 Jan 21 2013 cpqrack.mib
-rwxrwxrwx 1 root nagios 3718 May 21 2007 cpqrecov.cfg
-rwxrwxrwx 1 root nagios 5551 Aug 2 2010 cpqrecov.mib
-rwxrwxrwx 1 root nagios 2270 May 21 2007 cpqsanapp.cfg
-rwxrwxrwx 1 root nagios 3452 May 21 2007 cpqsanapp.mib
-rwxrwxrwx 1 root nagios 2688 May 21 2007 cpqsanevent.cfg
-rwxrwxrwx 1 root nagios 5236 May 21 2007 cpqsanevent.mib
-rwxrwxrwx 1 root nagios 10018 Oct 31 2011 cpqSasSwitch.cfg
-rwxrwxrwx 1 root nagios 16306 Jul 14 2012 cpqSasSwitch.mib
-rwxrwxrwx 1 root nagios 172829 Oct 15 2012 cpqscsi.cfg
-rwxrwxrwx 1 root nagios 247753 Jan 21 2013 cpqscsi.mib
-rwxrwxrwx 1 root nagios 10721 May 21 2007 cpqservice.cfg
-rwxrwxrwx 1 root nagios 20755 Aug 2 2010 cpqservice.mib
-rwxrwxrwx 1 root nagios 92627 Oct 15 2012 cpqsinfo.cfg
-rwxrwxrwx 1 root nagios 146276 Jan 21 2013 cpqsinfo.mib
-rwxrwxrwx 1 root nagios 58634 Oct 29 2012 cpqsm2.cfg
-rwxrwxrwx 1 root nagios 90399 Jan 21 2013 cpqsm2.mib
-rwxrwxrwx 1 root nagios 40623 May 21 2007 cpqsrvmn.cfg
-rwxrwxrwx 1 root nagios 66282 May 21 2007 cpqsrvmn.mib
-rwxrwxrwx 1 root nagios 10149 May 21 2007 cpqstat.cfg
-rwxrwxrwx 1 root nagios 17153 Aug 2 2010 cpqstat.mib
-rwxrwxrwx 1 root nagios 117028 Jun 6 2012 cpqstdeq.cfg
-rwxrwxrwx 1 root nagios 190322 Jul 14 2012 cpqstdeq.mib
-rwxrwxrwx 1 root nagios 109789 Oct 15 2012 cpqstsys.cfg
-rwxrwxrwx 1 root nagios 151656 Jan 21 2013 cpqstsys.mib
-rwxrwxrwx 1 root nagios 9380 May 21 2007 cpqswcc.cfg
-rwxrwxrwx 1 root nagios 16949 May 21 2007 cpqswcc.mib
-rwxrwxrwx 1 root nagios 26080 Oct 3 2008 cpqthrsh.cfg
-rwxrwxrwx 1 root nagios 37683 Aug 2 2010 cpqthrsh.mib
-rwxrwxrwx 1 root nagios 15403 Feb 28 2007 cpq-traps.cfg
-rwxrwxrwx 1 root nagios 14854 Nov 1 2004 cpq-traps.mib
-rwxrwxrwx 1 root nagios 15111 May 21 2007 cpqups.cfg
-rwxrwxrwx 1 root nagios 24215 May 21 2007 cpqups.mib
-rwxrwxrwx 1 root nagios 39457 Feb 20 2008 cpqwcrm.cfg
-rwxrwxrwx 1 root nagios 69247 Aug 2 2010 cpqwcrm.mib
-rwxrwxrwx 1 root nagios 54195 May 21 2007 cpqwinos.cfg
-rwxrwxrwx 1 root nagios 79514 Aug 2 2010 cpqwinos.mib
-rwxrwxrwx. 1 root nagios 68104 Aug 12 10:46 DISMAN-EVENT-MIB.txt
-rwxrwxrwx. 1 root nagios 24613 Aug 12 10:46 DISMAN-SCHEDULE-MIB.txt
-rwxrwxrwx. 1 root nagios 64311 Aug 12 10:46 DISMAN-SCRIPT-MIB.txt
-rwxrwxrwx. 1 root nagios 84492 Aug 12 10:46 EtherLike-MIB.txt
-rwxrwxrwx. 1 root nagios 4660 Aug 12 10:46 HCNUM-TC.txt
-rwxrwxrwx. 1 root nagios 52544 Aug 12 10:46 HOST-RESOURCES-MIB.txt
-rwxrwxrwx. 1 root nagios 10583 Aug 12 10:46 HOST-RESOURCES-TYPES.txt
-rwxrwxrwx 1 root nagios 7361 May 21 2007 hpeccmib.cfg
-rwxrwxrwx 1 root nagios 15487 May 21 2007 hpeccmib.mib
-rwxrwxrwx 1 root nagios 16803 Aug 11 2008 hpipf02trap.cfg
-rwxrwxrwx 1 root nagios 19828 Aug 2 2010 hpipf02trap.mib
-rwxrwxrwx 1 root nagios 550798 Feb 13 2009 hpipftrap.cfg
-rwxrwxrwx 1 root nagios 566082 Aug 2 2010 hpipftrap.mib
-rwxrwxrwx 1 root nagios 8552 May 21 2007 hp-mccluster.cfg
-rwxrwxrwx 1 root nagios 16231 May 21 2007 hp-mccluster.mib
-rwxrwxrwx 1 root nagios 48279 May 21 2007 hpn.cfg
-rwxrwxrwx 1 root nagios 22112 May 21 2007 hpnetctz.cfg
-rwxrwxrwx 1 root nagios 43461 Aug 2 2010 hpnetctz.mib
-rwxrwxrwx 1 root nagios 71542 May 21 2007 hpn.mib
-rwxrwxrwx 1 root nagios 37055 May 21 2007 hpnr.cfg
-rwxrwxrwx 1 root nagios 39016 May 21 2007 hpnr.mib
-rwxrwxrwx 1 root nagios 6977 Feb 11 2008 hpov-nnm.cfg
-rwxrwxrwx 1 root nagios 8939 Sep 21 2007 hpov-nnm.mib
-rwxrwxrwx 1 root nagios 6775 May 21 2007 hpovsam.cfg
-rwxrwxrwx 1 root nagios 43763 May 21 2007 hpovsam_im.cfg
-rwxrwxrwx 1 root nagios 79463 May 21 2007 hpovsam_im.mib
-rwxrwxrwx 1 root nagios 13317 May 21 2007 hpovsam.mib
-rwxrwxrwx 1 root nagios 2198 May 21 2007 hpprfmib.cfg
-rwxrwxrwx 1 root nagios 2647 May 21 2007 hpprfmib.mib
-rwxrwxrwx 1 root nagios 26231 May 21 2007 hpsgcluster.cfg
-rwxrwxrwx 1 root nagios 44888 May 21 2007 hpsgcluster.mib
-rwxrwxrwx 1 root nagios 1664 Feb 6 2013 hpsvrmgmt-oid.cfg
-rwxrwxrwx 1 root nagios 6737 Jan 21 2013 hpsvrmgmt-oid.mib
-rwxrwxrwx 1 root nagios 14232 May 21 2007 hpswa.cfg
-rwxrwxrwx 1 root nagios 29798 May 21 2007 hpswa.mib
-rwxrwxrwx 1 root nagios 2784 Oct 31 2011 hp-switch-pl.cfg
-rwxrwxrwx 1 root nagios 4241 Aug 25 2011 hp-switch-pl.mib
-rwxrwxrwx 1 root nagios 4348 Aug 2 2010 hpswitchpl.mib
-rwxrwxrwx 1 root nagios 8395 May 21 2007 hptat.cfg
-rwxrwxrwx 1 root nagios 20534 May 21 2007 hptat.mib
-rwxrwxrwx 1 root nagios 154108 May 21 2007 hptrap.cfg
-rwxrwxrwx 1 root nagios 176880 May 21 2007 hptrap.mib
-rwxrwxrwx 1 root nagios 135168 Oct 17 2008 hpux1111mcompile
-rwxrwxrwx 1 root nagios 383760 Oct 17 2008 hpux1123iamcompile
-rwxrwxrwx 1 root nagios 135168 Oct 17 2008 hpux1123pamcompile
-rwxrwxrwx. 1 root nagios 4819 Aug 12 10:46 IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
-rwxrwxrwx. 1 root nagios 29665 Aug 12 10:46 IANAifType-MIB.txt
-rwxrwxrwx. 1 root nagios 4299 Aug 12 10:46 IANA-LANGUAGE-MIB.txt
-rwxrwxrwx. 1 root nagios 3513 Aug 12 10:46 IANA-RTPROTO-MIB.txt
-rwxrwxrwx. 1 root nagios 5066 Aug 12 10:46 IF-INVERTED-STACK-MIB.txt
-rwxrwxrwx. 1 root nagios 71691 Aug 12 10:46 IF-MIB.txt
-rwxrwxrwx. 1 root nagios 16782 Aug 12 10:46 INET-ADDRESS-MIB.txt
-rwxrwxrwx. 1 root nagios 46286 Aug 12 10:46 IP-FORWARD-MIB.txt
-rwxrwxrwx. 1 root nagios 185667 Aug 12 10:46 IP-MIB.txt
-rwxrwxrwx. 1 root nagios 15936 Aug 12 10:46 IPV6-ICMP-MIB.txt
-rwxrwxrwx. 1 root nagios 48703 Aug 12 10:46 IPV6-MIB.txt
-rwxrwxrwx. 1 root nagios 7257 Aug 12 10:46 IPV6-TCP-MIB.txt
-rwxrwxrwx. 1 root nagios 2367 Aug 12 10:46 IPV6-TC.txt
-rwxrwxrwx. 1 root nagios 4400 Aug 12 10:46 IPV6-UDP-MIB.txt
-rwxrwxrwx. 1 root nagios 5931 Aug 12 10:46 LM-SENSORS-MIB.txt
-rwxrwxrwx. 1 root nagios 42375 Aug 12 10:46 MTA-MIB.txt
-rwxrwxrwx. 1 root nagios 15732 Aug 12 10:46 NET-SNMP-AGENT-MIB.txt
-rwxrwxrwx. 1 root nagios 9160 Aug 12 10:46 NET-SNMP-EXAMPLES-MIB.txt
-rwxrwxrwx. 1 root nagios 9198 Aug 12 10:46 NET-SNMP-EXTEND-MIB.txt
-rwxrwxrwx. 1 root nagios 2036 Aug 12 10:46 NET-SNMP-MIB.txt
-rwxrwxrwx. 1 root nagios 3351 Aug 12 10:46 NET-SNMP-PASS-MIB.txt
-rwxrwxrwx. 1 root nagios 4686 Aug 12 10:46 NET-SNMP-TC.txt
-rwxrwxrwx. 1 root nagios 5039 Aug 12 10:46 NET-SNMP-VACM-MIB.txt
-rwxrwxrwx. 1 root nagios 21006 Aug 12 10:46 NETWORK-SERVICES-MIB.txt
-rwxrwxrwx. 1 root nagios 24694 Aug 12 10:46 NOTIFICATION-LOG-MIB.txt
drwxr-xr-x 2 apache apache 4096 Sep 24 16:20 processed_mibs
-rwxrwxrwx. 1 root nagios 3067 Aug 12 10:46 RFC1155-SMI.txt
-rwxrwxrwx. 1 root nagios 79667 Aug 12 10:46 RFC1213-MIB.txt
-rwxrwxrwx. 1 root nagios 1174 Aug 12 10:46 RFC-1215.txt
-rwxrwxrwx. 1 root nagios 147822 Aug 12 10:46 RMON-MIB.txt
-rwxrwxrwx. 1 root nagios 45323 Aug 12 10:46 SCTP-MIB.txt
-rwxrwxrwx. 1 root nagios 4595 Aug 12 10:46 SMUX-MIB.txt
-rwxrwxrwx. 1 root nagios 15490 Aug 12 10:46 SNMP-COMMUNITY-MIB.txt
-rwxrwxrwx. 1 root nagios 22342 Aug 12 10:46 SNMP-FRAMEWORK-MIB.txt
-rwxrwxrwx. 1 root nagios 5496 Aug 12 10:46 SNMP-MPD-MIB.txt
-rwxrwxrwx. 1 root nagios 20014 Aug 12 10:46 SNMP-NOTIFICATION-MIB.txt
-rwxrwxrwx. 1 root nagios 9106 Aug 12 10:46 SNMP-PROXY-MIB.txt
-rwxrwxrwx. 1 root nagios 22769 Aug 12 10:46 SNMP-TARGET-MIB.txt
-rwxrwxrwx. 1 root nagios 39201 Aug 12 10:46 SNMP-USER-BASED-SM-MIB.txt
-rwxrwxrwx. 1 root nagios 2205 Aug 12 10:46 SNMP-USM-AES-MIB.txt
-rwxrwxrwx. 1 root nagios 21101 Aug 12 10:46 SNMP-USM-DH-OBJECTS-MIB.txt
-rwxrwxrwx. 1 root nagios 8263 Aug 12 10:46 SNMPv2-CONF.txt
-rwxrwxrwx. 1 root nagios 29305 Aug 12 10:46 SNMPv2-MIB.txt
-rwxrwxrwx. 1 root nagios 8924 Aug 12 10:46 SNMPv2-SMI.txt
-rwxrwxrwx. 1 root nagios 38034 Aug 12 10:46 SNMPv2-TC.txt
-rwxrwxrwx. 1 root nagios 5775 Aug 12 10:46 SNMPv2-TM.txt
-rwxrwxrwx. 1 root nagios 34162 Aug 12 10:46 SNMP-VIEW-BASED-ACM-MIB.txt
-rwxrwxrwx. 1 root nagios 28564 Aug 12 10:46 TCP-MIB.txt
-rwxrwxrwx. 1 root nagios 16418 Aug 12 10:46 TRANSPORT-ADDRESS-MIB.txt
-rwxrwxrwx. 1 root nagios 2163 Aug 12 10:46 UCD-DEMO-MIB.txt
-rwxrwxrwx. 1 root nagios 4402 Aug 12 10:46 UCD-DISKIO-MIB.txt
-rwxrwxrwx. 1 root nagios 3010 Aug 12 10:46 UCD-DLMOD-MIB.txt
-rwxrwxrwx. 1 root nagios 8118 Aug 12 10:46 UCD-IPFWACC-MIB.txt
-rwxrwxrwx. 1 root nagios 46150 Aug 12 10:46 UCD-SNMP-MIB.txt
-rw-rw-r-- 1 apache apache 266 Sep 24 16:20 UCD-TRAP-TEST-MIB.txt
-rwxrwxrwx. 1 root nagios 20882 Aug 12 10:46 UDP-MIB.txt
[root@lkennagiost01 ~]# ll ll /usr/share/snmp/processed_mibs/
ls: cannot access ll: No such file or directory
ls: cannot access /usr/share/snmp/processed_mibs/: No such file or directory
[root@lkennagiost01 ~]# ll ll /usr/share/snmp/mibs/processed_mibs/
ls: cannot access ll: No such file or directory
/usr/share/snmp/mibs/processed_mibs/:
total 8
-rw-r--r-- 1 apache apache 3341 Sep 24 16:01 cpqclus.txt
-rw-r--r-- 1 apache apache 313 Sep 24 16:20 UCD-TRAP-TEST-MIB.txt
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# grep -Ri 'demo' /var/spool/snmptt/*
grep: /var/spool/snmptt/*: No such file or directory
[root@lkennagiost01 ~]# net-snmp-config --default-mibdirs
-bash: net-snmp-config: command not found
[root@lkennagiost01 ~]# yum install net-snmp-config
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
* base: mirror.atlanticmetro.net
* epel: mirror.seas.harvard.edu
* extras: mirrors.rit.edu
* rpmforge: mirror.rit.edu
* updates: ftpmirror.your.org
base | 3.7 kB 00:00
cr | 2.9 kB 00:00
epel | 4.2 kB 00:00
epel/primary_db | 5.6 MB 00:02
extras | 3.4 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
No package net-snmp-config available.
Error: Nothing to do
[root@lkennagiost01 ~]# rpm -qa | grep snmptt
snmptt-1.3-3.nagios.noarch
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]#
[root@lkennagiost01 ~]# yum install net-snmp net-snmp-utils net-snmp-perl net-snmp-libs
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.seas.harvard.edu
* extras: mirror.net.cen.ct.gov
* rpmforge: repoforge.mirror.constant.com
* updates: mirror.dattobackup.com
Setting up Install Process
Package 1:net-snmp-5.5-44.el6_4.4.x86_64 already installed and latest version
Package 1:net-snmp-utils-5.5-44.el6_4.4.x86_64 already installed and latest version
Package 1:net-snmp-perl-5.5-44.el6_4.4.x86_64 already installed and latest version
Package 1:net-snmp-libs-5.5-44.el6_4.4.x86_64 already installed and latest version
Nothing to do
[root@lkennagiost01 ~]# snmptranslate -Dinit_mib .1.3 2>&1 |grep MIBDIR
init_mib: Seen MIBDIRS: Looking in '/root/.snmp/mibs:/usr/share/snmp/mibs' for mib dirs ...
[root@lkennagiost01 ~]#
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: pidof: invalid options on command line!
The events are ending up in snmpttunknown.log. Do you have any "unconfigured objects" in XI?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: pidof: invalid options on command line!
yes they are. I am now loading each mib very carefully one by one. you can lock this up. It's going to take awhile (198 mibs)...
but bf0re yah do, can you shoot me a snmptt.ini and snmpttrap handler file that is properly cfg'ed? I am trying to cover all my bases.
but bf0re yah do, can you shoot me a snmptt.ini and snmpttrap handler file that is properly cfg'ed? I am trying to cover all my bases.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: pidof: invalid options on command line!
We will get the snmptt pros on this tomorrow. See you then.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: pidof: invalid options on command line!
Thanks fellas.
EDIT:
SAY hAVE YOU EVER GOTTEN:" ADDMIB COMMAND NOT FOUND?": SAAAY whaatt!
totally sorry about the caps.
EDIT:
SAY hAVE YOU EVER GOTTEN:" ADDMIB COMMAND NOT FOUND?": SAAAY whaatt!
totally sorry about the caps.
Last edited by benhank on Thu Sep 26, 2013 1:22 pm, edited 1 time in total.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: pidof: invalid options on command line!
Yup, thats likely from updating to 1.4 I can send you the three files that 1.4 does not include if you would like.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: pidof: invalid options on command line!
thanks I would appreciate it.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: pidof: invalid options on command line!
They should be attached to this post. They should all be moved to /usr/local/bin/ and should be architecture independent.
You do not have the required permissions to view the files attached to this post.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.